RefInterpreter

doobie.free.KleisliInterpreter.RefInterpreter
trait RefInterpreter extends Visitor[[_] =>> Kleisli[M, Ref, _$288]]

Attributes

Source
kleisliinterpreter.scala
Graph
Supertypes
trait Visitor[[_] =>> Kleisli[M, Ref, _$288]]
trait FunctionK[RefOp, [_] =>> Kleisli[M, Ref, _$288]]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def canceled: Kleisli[M, Ref, Unit]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def delay[A](thunk: => A): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def embed[A](e: Embedded[A]): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def forceR[A, B](fa: RefIO[A])(fb: RefIO[B]): Kleisli[M, Ref, B]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def fromFuture[A](fut: RefIO[Future[A]]): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def fromFutureCancelable[A](fut: RefIO[(Future[A], RefIO[Unit])]): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def getBaseTypeName: Kleisli[M, Ref, String]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def getObject: Kleisli[M, Ref, AnyRef]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def getObject(a: Map[String, Class[_]]): Kleisli[M, Ref, AnyRef]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def handleErrorWith[A](fa: RefIO[A])(f: Throwable => RefIO[A]): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def monotonic: Kleisli[M, Ref, FiniteDuration]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def onCancel[A](fa: RefIO[A], fin: RefIO[Unit]): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def performLogging(event: LogEvent): Kleisli[M, Ref, Unit]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def poll[A](poll: Any, fa: RefIO[A]): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def raiseError[A](e: Throwable): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def raw[A](f: Ref => A): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def realTime: Kleisli[M, Ref, FiniteDuration]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def setObject(a: AnyRef): Kleisli[M, Ref, Unit]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def suspend[A](hint: Type)(thunk: => A): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala
override def uncancelable[A](body: Poll[RefIO] => RefIO[A]): Kleisli[M, Ref, A]

Attributes

Definition Classes
Source
kleisliinterpreter.scala

Inherited methods

def and[H[_]](h: FunctionK[RefOp, H]): FunctionK[F, [_] =>> Tuple2K[G, H, _$9]]

Composes two instances of FunctionK into a new FunctionK that transforms one single functor to a cats.data.Tuple2K of two functors.

Composes two instances of FunctionK into a new FunctionK that transforms one single functor to a cats.data.Tuple2K of two functors.

scala> import cats.arrow.FunctionK
scala> val list2option = λ[FunctionK[List, Option]](_.headOption)
scala> val list2vector = λ[FunctionK[List, Vector]](_.toVector)
scala> val optionAndVector = list2option and list2vector
scala> optionAndVector(List(1,2,3))
res0: cats.data.Tuple2K[Option,Vector,Int] = Tuple2K(Some(1),Vector(1, 2, 3))

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
def andThen[H[_]](f: FunctionK[[_] =>> Kleisli[M, Ref, _$288], H]): FunctionK[F, H]

Composes two instances of FunctionK into a new FunctionK with this transformation applied first.

Composes two instances of FunctionK into a new FunctionK with this transformation applied first.

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
final def apply[A](fa: RefOp[A]): F[A]

Applies this functor transformation from F to G

Applies this functor transformation from F to G

Attributes

Inherited from:
Visitor
Source
ref.scala
def compose[E[_]](f: FunctionK[E, RefOp]): FunctionK[E, G]

Composes two instances of FunctionK into a new FunctionK with this transformation applied last.

Composes two instances of FunctionK into a new FunctionK with this transformation applied last.

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
def narrow[F0 <: (RefOp)]: FunctionK[F0, G]

Narrows the input type of this FunctionK from F to F0

Narrows the input type of this FunctionK from F to F0

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
def or[H[_]](h: FunctionK[H, [_] =>> Kleisli[M, Ref, _$288]]): FunctionK[[_] =>> EitherK[F, H, _$6], G]

Composes two instances of FunctionK into a new FunctionK that transforms a cats.data.EitherK to a single functor.

Composes two instances of FunctionK into a new FunctionK that transforms a cats.data.EitherK to a single functor.

This transformation will be used to transform left F values while h will be used to transform right H values.

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
def widen[G0[x]]: FunctionK[F, G0]

Widens the output type of this FunctionK from G to G0

Widens the output type of this FunctionK from G to G0

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala