mirror of
https://github.com/nushell/nushell.git
synced 2025-07-31 03:52:17 +02:00
An interruptible stream can query an `AtomicBool. If that bool is true, the stream will no longer produce any values. Also introducing the `Interruptible` trait, which extends any `Stream` with the `interruptible` function, to simplify the construction and allow chaining.