Simple abstraction for disposable objects.

interface IDisposable {
    teardown(): void;
}

Implemented by

Methods

Methods

  • Beta

    Returns void

    Initiates the teardown and cleanup of this disposable item.