How chroscielski/azure-functions-durable-js works
Main Components
a) Core Infrastructure Layer:
• Azure Functions Runtime Environment
• Azure Storage (for state management)
• Storage Queues (function invocation)
• Storage Tables (checkpointing)
b) Durable Functions Components:
• Client Functions (entry points)
• Orchestrator Functions (workflow controllers)
• Activity Functions (task executors)
• Entity Functions (state management)
c) Internal Framework Components (from src/):
• Task Management System
• Task Factory
• Task Set Handler
• Timer Tasks
• Action Management System
• Activity Actions
• Entity Actions
• HTTP Actions
• Timer Actions
• History Management
• Event Processing
• State Management
• Entity Framework
• Entity State Management
• Lock Management
Relationship Flows to Illustrate
a) Primary Execution Flow:
Client Function → Orchestrator Function → Activity Functions
b) State Management Flow:
Orchestrator → Event Sourcing → Storage Tables ↔ State Reconstruction
c) Entity Interactions:
Functions ↔ Entity Operations ↔ Entity State
Technical Details
• Node.js runtime environment (v8.6.0+)
• Azure Functions Core Tools integration
• Microsoft.Azure.WebJobs.Extensions.DurableTask dependency
• Storage account requirements
• Key NPM package dependencies