Maybe also make it clear on how to create an async context? Which seems like a tremendous oversight? :)
All documents have focused on how async methods call each other and the usage of await, and the formally known Nurseries focused on grouping and spawning child async tasks?
But how do I create my first entry point for async-ness? E.g. instead of creating my non-async method taking a callback closure - some database loading function - I would like to make use of async - if I haven’t missed it somewhere it is not mentioned how I do this.
So as I said, feels like an oversight!
I might also be completely blind and/or I’ve might have completely misunderstood something?
Thank you for all your hard work and otherwise excellent documents!
Edit: I asked about this earlier and @Lantua replied: [Concurrency] Structured concurrency - #44 by Lantua But feels like we did not get this covered completely?
Best regards
Alex