cab
driving async ops in deno_core
What's the correct way to run a single tick of the event loop in
deno_core
? I'm using poll_event_loop
, but the result is always pending (i.e. the timers created with core.queueUserTimer
are never resolving). Is there something else I need to poll?
If I use tokio.block_on(run_event_loop)
it works correctly, but I only want to run a single tick.
My code currently looks like this:
Thanks!3 replies