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