SchedulerControllerModule
PackageFCQRS
Summary
| Name | Signature | Synopsis |
|---|---|---|
| start | start systemScheduler | Initializes and starts the SchedulerController agent. |
| watchForAndPauseOnNext | watchForAndPauseOnNext taskName | Instructs the controller to watch for the next occurrence of a specific task name. |
| signalAndAdvanceForCapturedTask | signalAndAdvanceForCapturedTask () | Signals the controller to advance for a previously captured task and resume normal advancement. |
| registerAutoAdvanceOnAppearance | registerAutoAdvanceOnAppearance taskName | Registers a task for automatic advancement upon its appearance. |
| stop | stop () | (Optional) Stops the scheduler controller agent. |
Initializes and starts the SchedulerController agent.
This should be called once during application startup.
Parameters
| Name | Type | Description |
|---|---|---|
| systemScheduler | IScheduler |
Returns
unit
Instructs the controller to watch for the next occurrence of a specific task name.
Parameters
| Name | Type | Description |
|---|---|---|
| taskName | string |
Returns
unit
Signals the controller to advance for a previously captured task and resume normal advancement.
Parameters
| Name | Type | Description |
|---|---|---|
| unit |
Returns
unit
Registers a task for automatic advancement upon its appearance.
Parameters
| Name | Type | Description |
|---|---|---|
| taskName | string |
Returns
unit