gespenst API - v0.1.0
    Preparing search index...

    Interface IDisposableWithEvent

    Represents a disposable that tracks is disposed state.

    interface IDisposableWithEvent {
        isDisposed: boolean;
        onDispose: IEvent<void>;
        dispose(): void;
    }

    Hierarchy (View Summary)

    Index
    isDisposed: boolean

    Whether this is disposed.

    onDispose: IEvent<void>

    Event listener to get notified when this gets disposed.

    • Returns void