awaitOn method
Registers a low-level flow-control wait while keeping the typed event ref on the call site.
Implementation
FlowStepControl awaitOn(
FlowContext step, {
DateTime? deadline,
Map<String, Object?>? data,
}) {
return step.awaitEvent(
topic,
deadline: deadline,
data: data,
);
}