Skip to content

CallbackOptions

Structure Class

CallbackOptions dataclass

Bases: _SerdeShape

Configuration options for callback operations in durable executions, including timeout settings and retry behavior.

Attributes

heartbeat_timeout_seconds class-attribute instance-attribute
heartbeat_timeout_seconds: int = ...

The heartbeat timeout for the callback operation, in seconds. If not specified or set to 0, heartbeat timeout is disabled.

timeout_seconds class-attribute instance-attribute
timeout_seconds: int = ...

The timeout for the callback operation in seconds. If not specified or set to 0, the callback has no timeout.