A disposable is a cleanup handle. It will be triggered by the domain system if a domain bundle is stopped.

interface Disposable {
    dispose(): void;
}

Methods

Methods

  • Triggers cleanup of the resources associated with this disposable.

    Returns void