Skip to content

ConditionalPeriodicTriggerExecutor

Runs a ConditionalPeriodicTrigger: fires when its condition returns true.

The condition is checked when resumed and then once per period.

Inheritance

Constructors

ConditionalPeriodicTriggerExecutor

ConditionalPeriodicTriggerExecutor()

Methods

onResume

Future<bool> onResume()
override

Called by resume. Returns true if successfully resumed.

If false, the executor moves to ExecutorState.PausedButShouldBeResumed.