Header menu logo FCQRS

SchedulerController Module

Types

Type Description

ControllerMessage

ControllerState

Functions and values

Function or value Description

registerAutoAdvanceOnAppearance taskName

Full Usage: registerAutoAdvanceOnAppearance taskName

Parameters:
    taskName : string

Registers a task for automatic advancement upon its appearance.

taskName : string

signalAndAdvanceForCapturedTask ()

Full Usage: signalAndAdvanceForCapturedTask ()

Parameters:
    () : unit

Signals the controller to advance for a previously captured task and resume normal advancement.

() : unit

start systemScheduler

Full Usage: start systemScheduler

Parameters:

Initializes and starts the SchedulerController agent. This should be called once during application startup.

systemScheduler : IScheduler

stop ()

Full Usage: stop ()

Parameters:
    () : unit

(Optional) Stops the scheduler controller agent.

() : unit

watchForAndPauseOnNext taskName

Full Usage: watchForAndPauseOnNext taskName

Parameters:
    taskName : string

Instructs the controller to watch for the next occurrence of a specific task name.

taskName : string

Type something to start searching.