Expand description
Runtime module for workflow execution
Provides the workflow runtime context that integrates with runtara-core via runtara-sdk. This is the only supported runtime mode.
The workflow runtime wraps runtara-sdk to provide:
- Instance registration and lifecycle management
- Checkpointing for crash recovery
- Signal handling (pause, cancel, resume)
- Heartbeat/tick for liveness monitoring
Structs§
- Runtara
Sdk - High-level SDK client for instance communication with runtara-core.
- SdkConfig
- SDK configuration for connecting to runtara-core.
Enums§
Functions§
- register_
sdk - Register an SDK instance globally for use by #[durable] functions.
- sdk
- Get a reference to the registered SDK.
Type Aliases§
- Result
- Result type for workflow execution
Attribute Macros§
- durable
- Makes an async function durable by wrapping it with checkpoint-based caching and retry support.