@bodil/core - v0.4.5
    Preparing search index...

    Function AutoDisposable

    • A class mixin which provides a Disposable implementation.

      The use(resource) method can be used to register Disposifiable resources which will be disposed when the object's dispose method is called.

      Type Parameters

      • C extends Constructor<object>

      Parameters

      • superclass: C

      Returns { prototype: __type<any>; new (...arguments_: any[]): __type } & C