2 ms·
The issue I see is that with some libraries you either go 100% async or 100% sync with no middle ground.
by raverbashing 13y ago
The issue I see is that with some libraries you either go 100% async or 100% sync with no middle ground.
- danabramov 13y agoThis is simply not true. You can use any C# library without using async (code rewriter). You'd still be using Tasks but there is nothing special about them (no compiler magic). They're just futures on which you can schedule continuations.
- raverbashing 13y agoI'm not talking about C#, but about libraries in other languages that support async behaviour
- angersock 13y agoPDFJS--the PDF reading package from Mozilla--is a gross offender in this regard; the mix of sync and async, and the somewhat arbitrary nature of which is which, is pretty annoying.