NodeConfig

data class NodeConfig(val retryConfig: RetryConfig? = null, val timeout: Duration? = null)

Bundles a node's retry policy and execution timeout. A null timeout imposes no limit, so an attempt is then bounded only by any ambient deadline. Validation lives here, so every Node implementation inherits it.

Constructors

Link copied to clipboard
constructor(retryConfig: RetryConfig? = null, timeout: Duration? = null)

Properties

Link copied to clipboard

How the node is retried when it raises. Null does not retry.

Link copied to clipboard

How long an attempt may run before it is cancelled and treated as a failure. Must be positive; null imposes no limit.