vezel-dev / cathode

A terminal-centric replacement for the .NET console APIs.
https://docs.vezel.dev/cathode
BSD Zero Clause License
91 stars 7 forks source link

Use `PoolingAsyncValueTaskMethodBuilder` throughout #56

Closed alexrp closed 2 years ago

alexrp commented 2 years ago

Since we have no real async support at the moment and just ship synchronous I/O operations off to the thread pool, we should look into pooling using PoolingAsyncValueTaskMethodBuilder.

See: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-10.0/async-method-builders