concurrent-ruby/docs-source/erlang_actor.init.rb

8 lines
74 B
Ruby

require 'concurrent-edge'
def do_stuff(*args)
sleep 0.01
:stuff
end