November 2019
Intermediate to advanced
362 pages
7h 52m
English
The client function is a triggered function (like the standard Azure Function you saw earlier in this book) that can create or manage an orchestrator function.
When you implement a Durable Function, you have at least one client that allows you to start the orchestration.
The client can be triggered using one of the triggers you saw in the previous chapters (for example, HTTP, timer, or queue) and uses an orchestration client binding to manage the orchestration instance:
[FunctionName(FunctionNames.OrderReceiverFunction)]public static async Task<HttpResponseMessage> Run( [HttpTrigger(AuthorizationLevel.Function, "post")] HttpRequestMessage req, [OrchestrationClient] DurableOrchestrationClient starter, ILogger log){ // Retrieves ...