Generic interface for all object that can perform cleanup via a dispose method.

Hierarchy

  • Disposable

Index

Properties

Properties

dispose

dispose: function

Runs the custom cleanup logic for this object. The exact behavior depends on how this disposable was obtained.

Type declaration

    • (): void
    • Returns void