Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IObservableDisposable

A disposable object with an observable disposed signal.

Hierarchy

Implemented by

Index

Properties

Methods

Properties

disposed

disposed: ISignal<this, void>

A signal emitted when the object is disposed.

isDisposed

isDisposed: boolean

Test whether the object has been disposed.

Notes

This property is always safe to access.

Methods

dispose

  • dispose(): void
  • Dispose of the resources held by the object.

    Notes

    If the object's dispose method is called more than once, all calls made after the first will be a no-op.

    Undefined Behavior

    It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.

    Returns void

Generated using TypeDoc