Durable.DSL.TimeHelpers (Durable v0.1.0-rc)
View SourceHelper functions for expressing time durations in workflow definitions.
Examples
workflow "process_order", timeout: hours(2) do
step :wait_for_confirmation do
sleep_for(minutes(30))
end
end
Summary
Functions
Converts days to milliseconds.
Converts hours to milliseconds.
Converts minutes to milliseconds.
Converts seconds to milliseconds.