ZActivityOptions

zio.temporal.activity.ZActivityOptions$
See theZActivityOptions companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

Total time that a workflow is willing to wait for an Activity to complete.

Total time that a workflow is willing to wait for an Activity to complete.

ScheduleToCloseTimeout limits the total time of an Activity's execution including retries withStartToCloseTimeout to limit the time of a single attempt).

Either this option or withStartToCloseTimeout is required.

Defaults to unlimited, which is chosen if set to null.

Attributes

Maximum time of a single Activity attempt.

Maximum time of a single Activity attempt.

Note that the Temporal Server doesn't detect Worker process failures directly. It relies on this timeout to detect that an Activity that didn't complete on time. So this timeout should be as short as the longest possible execution of the Activity body. Potentially long-running Activities must specify HeartbeatTimeout and call ZActivityExecutionContext.heartbeat periodically for timely failure detection.

If withScheduleToCloseTimeout is not provided, then this timeout is required.

Attributes