idSupport

kreuzberg.rpc.EffectSupport.idSupport
object idSupport extends EffectSupport[Id]

Attributes

Graph
Supertypes
trait EffectSupport[Id]
class Object
trait Matchable
class Any
Self type
idSupport.type

Members list

Value members

Concrete methods

override def failure[A](failure: Failure): Id[A]

Wraps a codec error into an Effect.

Wraps a codec error into an Effect.

Attributes

Definition Classes
override def flatMap[A, B](in: Id[A])(f: A => Id[B]): Id[B]

Defines a flatMap expression.

Defines a flatMap expression.

Attributes

Definition Classes
override def map[A, B](in: Id[A])(f: A => B): Id[B]

Defines a map expression.

Defines a map expression.

Attributes

Definition Classes
override def success[A](value: A): Id[A]

Wraps a success into an Effect.

Wraps a success into an Effect.

Attributes

Definition Classes

Inherited methods

def decodeResponse[A](in: Id[Response])(implicit decoder: Decoder[A]): Id[A]

Attributes

Inherited from:
EffectSupport
def encodeResponse[R](in: Id[R])(using encoder: Encoder[R]): Id[Response]

Attributes

Inherited from:
EffectSupport
def wrap[A](input: Either[Failure, A]): Id[A]

Wrap an either into an Effect.

Wrap an either into an Effect.

Attributes

Inherited from:
EffectSupport
def wrapFlatMap[A](in: Either[Failure, A])(f: A => Id[Json]): Id[Json]

Attributes

Inherited from:
EffectSupport