gate property
While set and not completed, a generation waits for it before its first delta (a turn stays running). A cancel ends the wait.
Implementation
Completer<void>? gate;
While set and not completed, a generation waits for it before its first delta (a turn stays running). A cancel ends the wait.
Completer<void>? gate;