| Class | Ruote::Exp::WaitExpression |
| In: |
lib/ruote/exp/fe_wait.rb
|
| Parent: | FlowExpression |
Waits (sleeps) for a given period of time before resuming the flow.
sequence do
accounting :task => 'invoice'
wait '30d' # 30 days
accounting :task => 'check if customer paid'
end
‘_sleep’ is also OK
_sleep '7d10h' # 7 days and 10 hours
(the underscore prevents collision with Ruby‘s sleep method)
TODO