Alternator

zio.blocks.endpoint.Alternator
See theAlternator companion trait
object Alternator

Attributes

Companion
trait
Source
Alternator.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Alternator.type

Members list

Type members

Types

type WithOut[L, R, O] = Alternator[L, R] { type Out = O; }

Attributes

Source
Alternator.scala

Value members

Concrete methods

def fromEithers[L, R, O](eithers: WithOut[L, R, O]): WithOut[L, R, O]

Adapts an zio.blocks.combinators.Eithers instance into endpoint fallback shape.

Adapts an zio.blocks.combinators.Eithers instance into endpoint fallback shape.

Attributes

Source
Alternator.scala

Inherited methods

def fromUnions[L, R, O](unions: WithOut[L, R, O]): WithOut[L, R, O]

Attributes

Inherited from:
AlternatorPlatformSpecific (hidden)
Source
AlternatorPlatformSpecific.scala

Givens

Inherited givens

given fromUnionsGiven: [L, R, O] => WithOut[L, R, O] => WithOut[L, R, O]

Attributes

Inherited from:
AlternatorPlatformSpecific (hidden)
Source
AlternatorPlatformSpecific.scala

Implicits

Implicits

implicit def fromEithersImplicit[L, R, O](implicit eithers: WithOut[L, R, O]): WithOut[L, R, O]

Reuses the canonical zio.blocks.combinators.Eithers derivation for endpoint fallbacks.

Reuses the canonical zio.blocks.combinators.Eithers derivation for endpoint fallbacks.

Attributes

Source
Alternator.scala