ZWorkflowState

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

Attributes

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

Members list

Type members

Classlikes

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

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ZWorkflowState[A]
class Object
trait Matchable
class Any
Show all

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

Type parameters

A

state type

Attributes

Returns

uninitialized state

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

Initializes the state with a value

Initializes the state with a value

Type parameters

A

state type

Value parameters

value

the state value

Attributes

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

Type parameters

K

map key type

V

map value type

Attributes

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