await step.delay('delay', async () => { return { unit: 'day', amount: 1, }; });
const { duration } = await step.delay('delay-1-week', resolver);
This combined with the unit field determines the amount of time to digest events for.
The measurement unit for the amount field.
The duration of the delay in milliseconds.
Was this page helpful?