cosync icon indicating copy to clipboard operation
cosync copied to clipboard

A single-threaded executor for deferred async code for games.

Results 2 cosync issues
Sort by recently updated
recently updated
newest added

I'm trying to store my coroutine in a heap-allocated struct (or just heap-allocate the coroutine) and pass borrowed inputs to it in `run_until_stall`. As far as I understand, this is...

I have a use case that requires the following pattern to be possible with cosync: ```rs // Somewhere... // Task A cosync.queue(|| async { do_something().await; do_another_thing().await; }); // Task B...