There has been a lot of work and libraries like iopipe do like very promising: - https://github.com/schveiguy/iopipe - https://github.com/jasonwhite/io - https://github.com/rejectedsoftware/vibe.d/blob/master/stream/vibe/stream/stdio.d
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10219 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB