Skip to main content

Module config

Module config 

Source
Expand description

Configuration types for durable execution operations.

This module provides type-safe configuration structs for all durable operations including steps, callbacks, invocations, map, and parallel operations.

§Performance Configuration

The SDK supports different checkpointing modes that trade off between durability and performance. See CheckpointingMode for details.

§Sealed Traits

The RetryStrategy trait is sealed and cannot be implemented outside of this crate. This allows the SDK maintainers to evolve the retry interface without breaking external code.

Structs§

CallbackConfig
Configuration for callback operations.
ChildConfig
Configuration for child context operations.
CompletionConfig
Configuration defining success/failure criteria for concurrent operations.
CustomRetry
Custom retry strategy wrapper.
ExponentialBackoff
Exponential backoff retry strategy.
ExponentialBackoffBuilder
Builder for ExponentialBackoff.
FixedDelay
Fixed delay retry strategy.
InvokeConfig
Configuration for invoke operations.
ItemBatcher
Configuration for batching items in map operations.
LinearBackoff
Linear backoff retry strategy.
MapConfig
Configuration for map operations.
NoRetry
No retry strategy - fails immediately on first error.
ParallelConfig
Configuration for parallel operations.
RetryableErrorFilter
Declarative filter for retryable errors.
StepConfig
Configuration for step operations.
WaitStrategyConfig
Configuration for creating a wait strategy.

Enums§

CheckpointingMode
Checkpointing mode that controls the trade-off between durability and performance.
ErrorPattern
Pattern for matching retryable errors.
JitterStrategy
Jitter strategy for retry delays.
StepSemantics
Execution semantics for step operations.
WaitDecision
Decision returned by a wait strategy.

Traits§

RetryStrategy
Retry strategy trait for configuring step retry behavior.
SerDesAny
Type-erased SerDes trait for storing in config structs.

Functions§

create_wait_strategy
Creates a wait strategy function from the given configuration.
custom_retry
Custom retry strategy using a user-provided closure.

Type Aliases§

ContextConfig
Type alias for ChildConfig for consistency with the design document.