@dxos/app-framework - v0.8.3
    Preparing search index...

    Type Alias Capability<T>

    A unique string identifier with a Typescript type associated with it. When a capability is contributed to the application an implementation of the interface is provided.

    type Capability<T> = {
        deactivate?: () => Effect.Effect<void, Error>;
        implementation: T;
        interface: Capability.InterfaceDef<T>;
    }

    Type Parameters

    • T
    Index

    Properties

    deactivate?: () => Effect.Effect<void, Error>

    Called when the capability is deactivated.

    implementation: T

    The implementation of the capability.

    The interface definition of the capability.