Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 549 Bytes

5.5. Implement code that addresses a transient state.md

File metadata and controls

17 lines (14 loc) · 549 Bytes

Implement code that addresses a transient state

Durable functions

  • An extension of Azure Functions that lets you write stateful functions
    • The extension manages state, checkpoints, and restarts for you.
  • Logic
    • You get starter object injected in JS & C# (DurableOrchestrationClient)

      If starter => existing instance (instanceid) exists
        return HttpStatusCode.Conflict
      else
        starter => start new instance
        starter => create response from instanceid
        return response from starter