Skip to main content

Module activity

Module activity 

Source
Expand description

Typed activity registration and failure classification. Activity trait, ActivityFailure, and typed registration.

Structs§

ActivityFailure
Handler-returned failure with explicit retryability classification.
ActivityRegistry
Registry of typed activity handlers keyed by activity-type name.
DuplicateActivityType
Error returned when an activity type is registered more than once.

Enums§

Classification
Explicit retryability classification for an activity failure.

Functions§

decode_payload
Decodes a payload into a typed value using the payload content-type tag.
encode_payload
Encodes a typed value into the baseline JSON payload codec.

Type Aliases§

HandlerFuture
Boxed future returned by a typed activity handler.
TypedActivityDispatcher
Backwards-compatible name for the typed activity registry used by the runtime.