Skip to content

ConditionalSamplingEventTriggerExecutor

Runs a ConditionalSamplingEventTrigger: fires on matching measurements.

A measurement matches if its type is ConditionalSamplingEventTrigger.measureType and ConditionalSamplingEventTrigger.triggerCondition returns true for it.

Inheritance

Constructors

ConditionalSamplingEventTriggerExecutor

ConditionalSamplingEventTriggerExecutor()

Methods

onPause

Future<bool> onPause()
override

Called by pause. Returns true if successfully paused.

If false, the state is not changed.

onResume

Future<bool> onResume()
override

Called by resume. Returns true if successfully resumed.

If false, the executor moves to ExecutorState.PausedButShouldBeResumed.