mirror of
https://github.com/nushell/nushell.git
synced 2025-05-29 22:29:06 +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.