What are durable functions?
- Durable Functions allow stateful workflows in serverless apps.
- Enable orchestration, chaining, and long-running tasks without managing state
manually.
Example:
[FunctionName("OrchestratorFunction")]
public static async Task RunOrchestrator(
[OrchestrationTrigger] IDurableOrchestrationContext context)
await context.CallActivityAsync("HelloActivity", "Tokyo");
await context.CallActivityAsync("HelloActivity", "Seattle");