Durable functions are stateful functions that interact with one another. with resources from the outside and monitor the flow of information. 

The syntax of Durable functions really straightforward. Moreover, Durable  functions conceal all of the complexities of managing state retries etc.

Durable functions are of great use for function chaining. By utilizing function chaining, In a sequential fashion, we call values functions. then apply the results of each function to the function that comes after it.

Each of those functions have its own state, its own process, and runs in its own time,

 

 

Example of a  Durable function

Now, behind the scenes, the durable function manages all the state of this flow. 

So when it calls, let's say the F1 function, it will go to sleep until the F1 function completes, it gets the return value from it, and then activates itself and calls the next function, but all this flow and state management is completely transparent for you, the developer,


Related Question