SchedulerControllerModule

PackageFCQRS

Summary

NameSignatureSynopsis
startstart systemSchedulerInitializes and starts the SchedulerController agent.
watchForAndPauseOnNextwatchForAndPauseOnNext taskNameInstructs the controller to watch for the next occurrence of a specific task name.
signalAndAdvanceForCapturedTasksignalAndAdvanceForCapturedTask ()Signals the controller to advance for a previously captured task and resume normal advancement.
registerAutoAdvanceOnAppearanceregisterAutoAdvanceOnAppearance taskNameRegisters a task for automatic advancement upon its appearance.
stopstop ()(Optional) Stops the scheduler controller agent.

start

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

Parameters

NameTypeDescription
systemSchedulerIScheduler

Returns

unit

watchForAndPauseOnNext

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

Parameters

NameTypeDescription
taskNamestring

Returns

unit

signalAndAdvanceForCapturedTask

signalAndAdvanceForCapturedTask ()
Member
Signals the controller to advance for a previously captured task and resume normal advancement.

Parameters

NameTypeDescription
unit

Returns

unit

registerAutoAdvanceOnAppearance

registerAutoAdvanceOnAppearance taskName
Member
Registers a task for automatic advancement upon its appearance.

Parameters

NameTypeDescription
taskNamestring

Returns

unit

stop

stop ()
Member
(Optional) Stops the scheduler controller agent.

Parameters

NameTypeDescription
unit

Returns

unit