stalker icon indicating copy to clipboard operation
stalker copied to clipboard

Added enqueue_with_response

Open kke opened this issue 13 years ago • 0 comments

New method enqueue_with_response for RPC kind of functionality:

job "concat" do |args|
   args['a'] + args['b']
end

Stalker.enqueue_with_response "concat", :a => 'foo', :b => 'bar'
 => "foobar"

I dont' see how it could be tested in single thread.

kke avatar Aug 14 '12 14:08 kke