Closed thorium-cfx closed 1 year ago
Run lambdas directly and allow await when they are being rescheduled
await
Quality of Life (QoL)
Coroutine Coroutine.Run(Func<Coroutine> func)
and potentially others found in MS Task.Run specification
Could be something like this:
return await new Func<Coroutine>(async () => { // our lambda })();
No response
Goal
Run lambdas directly and allow
await
when they are being rescheduledImportancy
Quality of Life (QoL)
API and/or potential implementation
API
and potentially others found in MS Task.Run specification
Implementation
Could be something like this:
Extra
No response