Theia API Documentation v1.77.0
    Preparing search index...

    Class Disposable

    Hierarchy (View Summary)

    Implemented by

    Index
    • Combine many disposable-likes into one. Use this method when having objects with a dispose function which are not instances of Disposable.

      Parameters

      • ...disposableLikes: { dispose: () => any }[]

        Objects that have at least a dispose-function member.

      Returns Disposable

      Returns a new disposable which, upon dispose, will dispose all provided disposables.