it only took like 5 years, but streaming readdir() just landed in @nodejs 
-
-
Ohhh, which syscalls are being used for this? The regular, but in a threadpool? I was looking into this a while back too but couldn't quite figure out how to do this natively.
1 reply 0 retweets 2 likes -
Replying to @yoshuawuyts @nodejs
it uses uv_fs_opendir(), uv_fs_closedir(), and uv_fs_readdir() under the hood (same thread pool and all). the implementations of those functions are in: https://github.com/libuv/libuv/blob/v1.x/src/unix/fs.c … and https://github.com/libuv/libuv/blob/v1.x/src/win/fs.c …
1 reply 0 retweets 5 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.