AgentStep.waitFor constructor

const AgentStep.waitFor(
  1. Future<void> signal
)

Waits for signal before the next step, such as to keep a run open in a test.

Implementation

const factory waitFor(Future<void> signal) = _WaitFor;