Jason Gedge
7304d06c0b
Use threads to avoid blocking reads/writes in externals. ( #1440 )
...
In particular, one thing that we can't (properly) do before this commit
is consuming an infinite input stream. For example:
```
yes | grep y | head -n10
```
will give 10 "y"s in most shells, but blocks indefinitely in nu. This PR
resolves that by doing blocking I/O in threads, and reducing the `await`
calls we currently have in our pipeline code.
2020-03-02 06:19:09 +13:00
..
2020-01-10 10:44:24 -05:00
2020-01-29 08:34:36 -05:00
2020-02-10 15:32:10 -05:00
2019-12-18 07:54:39 +13:00
2020-02-11 18:24:31 -08:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2020-01-10 10:44:24 -05:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2020-02-11 18:24:31 -08:00
2020-02-01 03:34:34 -05:00
2019-12-18 07:54:39 +13:00
2020-02-19 09:54:32 +13:00
2020-02-07 12:40:48 -05:00
2019-12-15 11:34:58 -05:00
2020-01-26 05:16:40 +13:00
2020-01-10 10:44:24 -05:00
2020-01-21 17:45:03 -05:00
2020-01-10 10:44:24 -05:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2020-02-11 18:24:31 -08:00
2020-02-10 15:32:10 -05:00
2020-01-20 08:08:36 +13:00
2019-12-18 07:54:39 +13:00
2019-12-18 07:54:39 +13:00
2020-03-02 06:19:09 +13:00
2020-01-11 01:45:09 -05:00
2020-01-10 10:44:24 -05:00
2019-12-18 07:54:39 +13:00