nushell/crates/nu-command/src/formats
Reilly Wood 9364bad625
Make to text stream ListStreams (#7577)
This PR changes `to text` so that when given a `ListStream`, it streams
the incoming values instead of collecting them all first.

The easiest way to observe/verify this PR is to convert a list to a very
slow `ListStream` with `each`:
```bash
ls | get name | each {|n| sleep 1sec; $n} | to text
```
The `to text` output will appear 1 item at a time.
2022-12-22 16:38:07 -08:00
..
from avoid panic when using from nuon (#7533) 2022-12-21 16:42:23 -08:00
to Make to text stream ListStreams (#7577) 2022-12-22 16:38:07 -08:00
mod.rs Add 'to json' 2021-10-29 19:26:29 +13:00