Home Reference Source

src/core/Disposable.js

/**
 * The Disposable contract.
 *
 * Implemented by objects that can free internal resources.
 *
 * @interface
 */

export class Disposable {

	/**
	 * Frees internal resources.
	 */

	dispose() {}

}