Simple abstraction for disposable objects.

interface IDisposable {
    teardown(): void;
}

Implemented by

Methods

Methods

  • Returns void

    Initiates the teardown and cleanup of this disposable item.