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

    Type Alias Disposifiable

    Disposifiable: (() => void) | Unsubscribable | Disposable

    Type for something that can be turned into a Disposable.

    Includes things that already implement Disposable, objects with an unsubscribe() method (an Unsubscribable), and functions with no arguments or return values which are assumed to be unsubscribe functions, as popularised by React.