Closed alexrp closed 2 years ago
I don't think we'll ever go as far as plumbing asynchronous I/O all the way down to the drivers (using e.g. IOCP). That would be neat in a sense, but it would also massively increase the complexity of the driver code for relatively little benefit.
Providing Task.Run
-based wrappers around the synchronous APIs should be good enough in practice.
This partially ties into:
A common complaint with
System.Console
is that it has very limited support for asynchronous operations. The only real support is grabbing e.g.Console.Out
and using the asynchronous methods onTextWriter
. We support that too, but I think we can do better.