Expand description
Watching a run while it is still running.
The run log is the record and is written either way. This is the shoulder-read: somewhere to send what is happening as it happens, so a screen can show a run in progress instead of a blank pane for the minute it takes.
A watcher is handed a Step and returns nothing. That is the whole
guarantee, and it is deliberate: watching cannot become steering, and a
watcher that panics or blocks cannot change what the run decides. Sending is
the watcher’s problem — the shipped one drops what it cannot deliver,
because a run must not stall on a screen that has gone away.
Structs§
- Channel
- A watcher over a channel, which is the only kind anything here needs.
Enums§
Traits§
- Watcher
- Somewhere to send a run’s steps while it is still running.