27 Jul
2023
27 Jul
'23
5:04 p.m.
I think I may've misunderstood everything. I was under the impression that Async could support custom awaitables but I don't believe it can. Or at least, I'd need to see an actual example of this being authored. Purport that I wanted to author an awaitable that spawned work on a thread pool in its `await_suspend()` method. Do I just use the awaiting coro's executor to post() back to Async's event loop? What should I actually be posting back? Just a simple callable that invokes `h.resume()`? - Christian