Skip to content

OneTimeTriggerExecutor

Runs a OneTimeTrigger, i.e. fires only once per study deployment.

The fire time is saved in OneTimeTrigger.triggerTimestamp and persisted with the deployment, so it does not fire again after an app restart.

Inheritance

Constructors

OneTimeTriggerExecutor

OneTimeTriggerExecutor()

Methods

onResume

Future<bool> onResume()
override

Called by resume. Returns true if successfully resumed.

If false, the executor moves to ExecutorState.PausedButShouldBeResumed.