ZIOFunctionConstructor

zio.ZIOFunctionConstructor
See theZIOFunctionConstructor companion object
sealed abstract class ZIOFunctionConstructor[In]

A ZIOFunctionConstructor[Input] knows how to construct a ZIO value from a function of type In. This allows the type of the ZIO value constructed to depend on In.

Attributes

Companion
object
Source
ZIOFunctionConstructor.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Out

The type of the ZIO value.

The type of the ZIO value.

Attributes

Source
ZIOFunctionConstructor.scala

Value members

Abstract methods

def apply(in: In)(implicit trace: Trace): Out

Constructs a ZIO value from the specified input.

Constructs a ZIO value from the specified input.

Attributes

Source
ZIOFunctionConstructor.scala