Member Junction
    Preparing search index...

    What one routine's execution needs from its caller. The sweep passes its full ScheduledJobExecutionContext; a manual run (UserRoutineDispatcherDriver.RunRoutineNow) passes only these.

    interface RoutineRunContext {
        BypassWakeGate?: boolean;
        ContextUser: UserInfo;
        heartbeat?: () => Promise<void>;
    }
    Index

    Properties

    BypassWakeGate?: boolean

    True for a run the user asked for by hand: the wake gate is not consulted.

    ContextUser: UserInfo

    The bookkeeping user: run rows and routine roll-up are saved as this user (the scheduler's system user).

    heartbeat?: () => Promise<void>