Stopping a run (interrupt)¶
The one flag every blocking wait consults.
Python module doppler.interrupt. Area: I/O.
Classes and functions¶
| Name | Kind | API | Guide | Gallery | Example | Design |
|---|---|---|---|---|---|---|
Interrupt |
class | Interrupt | graceful_shutdown_demo receiver ring_interrupt_demo |
Ending a wait — one contract for network, memory and disk Ending a capture — spooling an endless stream to disk while reading it back Streaming — one envelope, six roles, two planes |
Design pages in this domain¶
- Ending a wait — one contract for network, memory and disk — one contract for network, memory and disk: why "no data right now" is indistinguishable from "no data ever" on all three, the interrupt primitive that already exists and is misnamed, and the end-of-stream marker that does not
Used in other domains¶
Pages filed under another domain that name a symbol of this module, or link to or from a page filed here: a class used for another task is found from both sides, never re-filed.