Module retry

Source
Expand description

Retry integration is handled via a wrapper node (RetryNode) around any Node. This preserves the existing Transition API without adding a retry variant.

Users can opt in by wrapping nodes in RetryNode, which applies the RetryPolicy.

Structs§

RetryNode
Wrapper node that applies a RetryPolicy on inner node failures.
RetryPolicy
Policy controlling retry behavior for nodes.

Enums§

BackoffStrategy
Strategy for computing backoff durations.
RetryError
Which errors should be retried.

Traits§

RetryDelay
Helper trait: run a delay respecting cancellation and timeouts if available.

Functions§

with_retry
Wrap an existing node with retry behavior according to the given policy.