SamplingEventTrigger constructor
SamplingEventTrigger({
- required String measureType,
- ConditionalEvent? resumeCondition,
- ConditionalEvent? pauseCondition,
Create a trigger that triggers when a measure of measureType
is collected,
and checks the resumeCondition
and pauseCondition
to determine if the
task should be resumed or paused, respectively.
Implementation
SamplingEventTrigger({
required this.measureType,
this.resumeCondition,
this.pauseCondition,
}) : super();