Durable Timers - .NET SDK feature guide
Sleep
This page describes how to set a Durable Timer using the Temporal .NET SDK.
To add a Timer in a Workflow, use Workflow.DelayAsync
. This is like a deterministic form of Task.Delay
.
// Sleep for 3 days
await Workflow.DelayAsync(TimeSpan.FromDays(3));