ZState

zio.ZState$
See theZState companion trait
object ZState

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ZState.type

Members list

Concise view

Value members

Concrete methods

def initial[S : Tag](s: => S)(implicit evidence$2: Tag[S], trace: Trace): ZLayer[Any, Nothing, ZState[S]]

A layer that allocates the initial state of a stateful workflow.

A layer that allocates the initial state of a stateful workflow.

Attributes