async icon indicating copy to clipboard operation
async copied to clipboard

Suspend and wake up event loops.

Open gaborcsardi opened this issue 6 years ago • 0 comments

This breaks out of the event loop stack, but it is needed if we want to handle long running background tasks.

We would just lift the event loop out of the stack, and return it as a first class object, maybe?

The event loop needs a finalizer, so when this object is GC-d, everything is freed up.

gaborcsardi avatar Apr 17 '18 10:04 gaborcsardi