Skip to Content
Mastering Azure Serverless Computing
book

Mastering Azure Serverless Computing

by Lorenzo Barbieri, Massimo Bonanni
November 2019
Intermediate to advanced
362 pages
7h 52m
English
Packt Publishing
Content preview from Mastering Azure Serverless Computing

Orchestrator functions

The orchestrator function is the function responsible for the orchestration process: its code describes how the functions are executed and their order.

The orchestrator function is triggered by a special trigger called OrchestratorTrigger:

[FunctionName(FunctionNames.OrderWorkflowFunction)]    public static async Task Run([OrchestrationTrigger] DurableOrchestrationContext context,    ILogger log){    // Orchestration code}

The DurableOrchestrationContext class allows you to call other functions or manage the payload passed from the client that calls the orchestrator function. Its structure is shown in the following screenshot:

The most important methods exposed by this class are the following:

  • CallActivityAsync and CallActivityWithRetryAsync ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Serverless Architectures with Microsoft Azure

Advanced Serverless Architectures with Microsoft Azure

Daniel Bass
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781789951226Supplemental Content