ZWorkflowState

zio.temporal.state.ZWorkflowState$
See theZWorkflowState companion trait

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class Optional[A] extends ZWorkflowState[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Required[A] extends ZWorkflowState[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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

def empty[A]: Optional[A]

Creates an uninitialized state

Creates an uninitialized state

Attributes

A

state type

Returns:

uninitialized state

def make[A](value: A): Required[A]

Initializes the state with a value

Initializes the state with a value

Attributes

A

state type

value

the state value

Returns:

the state

Inherited methods

def emptyMap[K, V]: Required[Map[K, V]]

Initializes the state with an empty map

Initializes the state with an empty map

Attributes

K

map key type

V

map value type

Returns:

the state

Inherited from:
ZWorkflowStateMapSyntax

Implicits

Inherited implicits

implicit def ZWorkflowStateMapOps[K, V](self: ZWorkflowState[Map[K, V]]): ZWorkflowStateMapOps[K, V]

Attributes

Inherited from:
ZWorkflowStateMapSyntax
implicit def ZWorkflowStateNumericOps[N : Numeric](self: ZWorkflowState[N]): ZWorkflowStateNumericOps[N]

Attributes

Inherited from:
ZWorkflowStateNumericSyntax