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

    Interface Module<Options>

    A module body carrying its activation spec as erased runtime values. The spec types are enforced where the body is authored (lazyModule / inlineModule) and deliberately absent from this type, so exporting a module never leaks foreign capability types into declaration emit (TS2883). Runtime manager validation is authoritative.

    interface Module<Options = void> {
        activatesOn?: Events;
        environments?: readonly string[];
        provides: readonly AnyTag[];
        requires?: readonly AnyTag[];
        (options: Options): Effect<any, Error, any>;
    }

    Type Parameters

    • Options = void
    Index

    Properties

    activatesOn?: Events
    environments?: readonly string[]
    provides: readonly AnyTag[]
    requires?: readonly AnyTag[]