Hello Rashi,

please have a look at those two examples:

  https://gist.github.com/3245163
  https://gist.github.com/3245164

The second one uses a[n obscure] feature of the local participants (put and
get) (http://ruote.rubyforge.org/implementing_participants.html#stash), it
stores info that can be shared between on_workitem (consume) and on_cancel
(cancel).

I'm not using Process.wait, it seems it blocks the whole (ruote) process
while the child is on, so I doing some polling in a loop.


I hope this will help. If you have any question, just ask. Kind regards,

--
John Mettraux - http://lambda.io/jmettraux

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to