Skip to main

Disposable

Disposable

Disposable - Function

Signature - disposable.ts#L336

function Disposable(onDispose?: () => void): Disposable

Disposable - Interface

Signature - disposable.ts#L13

interface Disposable {
    readonly active: boolean
    add(child: Disposable): void
    dispose(): void
    remove(child: Disposable): void
}