You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# @parameter work [Proc] The work to execute on a background thread.
357
-
# @returns [Object] The result of the work.
358
-
defblocking_operation_wait(work)
359
-
@worker_pool.call(work)
360
-
end
361
-
362
363
# Run one iteration of the event loop.
363
364
#
364
365
# When terminating the event loop, we already know we are finished. So we don't need to check the task tree. This is a logical requirement because `run_once` ignores transient tasks. For example, a single top level transient task is not enough to keep the reactor running, but during termination we must still process it in order to terminate child tasks.
0 commit comments