@adobe/data - v0.10.30
    Preparing search index...

    Type Alias SystemDeclaration

    type SystemDeclaration = {
        create: (
            db: Database<any, any, any, any, any, any> & {
                store: Store<any, any, any>;
            },
        ) => SystemFunction
        | void;
        schedule?: {
            after?: readonly string[];
            before?: readonly string[];
            during?: readonly string[];
        };
    }
    Index

    Properties

    Properties

    create: (
        db: Database<any, any, any, any, any, any> & {
            store: Store<any, any, any>;
        },
    ) => SystemFunction
    | void
    schedule?: {
        after?: readonly string[];
        before?: readonly string[];
        during?: readonly string[];
    }

    Scheduling constraints for system execution order.

    • before: Hard constraint - this system must run before the listed systems
    • after: Hard constraint - this system must run after the listed systems
    • during: Soft constraint - prefer to run in the same tier as the listed systems, if dependencies allow