FunctionConstructor

zio.FunctionConstructor
See theFunctionConstructor companion object
sealed abstract class FunctionConstructor[In]

A FunctionConstructor[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
FunctionConstructor.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
FunctionConstructor.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
FunctionConstructor.scala