Interface Disposable

An object should be Disposable if its lifetime is bounded by the holder. Such objects are normally created by the holding object.

interface Disposable {
    dispose(): void;
}

Methods

Methods

  • Returns void