Skip to content

Instantly share code, notes, and snippets.

/anb.rb

Created Jan 4, 2012
Embed
What would you like to do?
class AnbParticipant < Ruote::StorageParticipant
def consume(workitem)
if workitem.params['nonblock']
do_something
reply_to_engine(workitem)
else
super(workitem)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.