Expand description
Runtime support for the #[durable_execution] macro.
This module contains the runtime logic that was previously generated inline by the proc macro. By extracting it into library code, we get:
- Unit-testable runtime logic
- A single copy in the binary (no per-handler duplication)
- Readable error messages pointing to real source files
- Bug fixes ship in the SDK crate, not the macro crate
Users typically don’t interact with this module directly — the
#[durable_execution] macro calls run_durable_handler automatically.
However, advanced users can call it directly to skip the macro.
§Requirements
- 15.1: THE Lambda_Integration SHALL provide a
#[durable_execution]attribute macro for handler functions - 15.3: THE Lambda_Integration SHALL create ExecutionState and DurableContext for the handler
Functions§
- extract_
event - Extracts the user’s event from a
DurableExecutionInvocationInput. - run_
durable_ handler - Runs a durable execution handler within the Lambda runtime.