mirror of
https://github.com/nushell/nushell.git
synced 2024-12-25 16:39:08 +01:00
9364bad625
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. |
||
---|---|---|
.. | ||
commands | ||
format_conversions | ||
main.rs |