Skip to content

Commit

Permalink
Enable hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 23, 2024
1 parent 83f2160 commit 60dfa25
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/async/scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,9 @@ def process_wait(pid, flags)
#
# @parameter work [Proc] The work to execute on a background thread.
# @returns [Object] The result of the work.
# def blocking_operation_wait(work)
# # Fiber.blocking{$stderr.puts "Doing work: #{caller(3, 1)}"}
# @worker_pool.call(work)
# end
def blocking_operation_wait(work)
@worker_pool.call(work)
end

# Run one iteration of the event loop.
#
Expand Down

0 comments on commit 60dfa25

Please sign in to comment.