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

    Type Alias TypedModuleOptions

    Structural authoring shape for typed modules. A module without requires is a root, triggered by activatesOn (implicitly Idle). A module with requires is a chain member: it activates once every declared capability has been contributed — by whichever event's chain produced the providers, not necessarily during startup — additionally gated on activatesOn when declared. Consumers of event-gated providers stay pending until the event fires and the provider contributes; capability cycles fail at runtime (DependencyCycleError). Channel enforcement happens in ValidateModuleOptions.

    type TypedModuleOptions = {
        activate: (props?: any) => Effect.Effect<any, any, any>;
        activatesOn?: Events;
        id?: string;
        provides?: readonly AnyTag[];
        requires?: readonly AnyTag[];
    }
    Index

    Properties

    activate: (props?: any) => Effect.Effect<any, any, any>
    activatesOn?: Events
    id?: string
    provides?: readonly AnyTag[]
    requires?: readonly AnyTag[]