AsyncReactive

dev.tauri.choam.async.AsyncReactive
See theAsyncReactive companion object
trait AsyncReactive[F[_]] extends Reactive[F]

Attributes

Companion
object
Source
AsyncReactive.scala
Graph
Supertypes
trait Reactive[F]
trait FunctionK[Axn, F]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Abstract methods

def applyAsync[A, B](r: Rxn[A, B], a: A, s: RetryStrategy): F[B]

Attributes

Source
AsyncReactive.scala

Attributes

Source
AsyncReactive.scala
def promise[A]: Axn[Promise[F, A]]

Attributes

Source
AsyncReactive.scala
def waitList[A](syncGet: Axn[Option[A]], syncSet: Rxn[A, Unit]): Axn[WaitList[F, A]]

Attributes

Source
AsyncReactive.scala

Concrete methods

final override def mapK[G[_]](t: FunctionK[F, G])(implicit G: Monad[G]): AsyncReactive[G]

Attributes

Definition Classes
Source
AsyncReactive.scala

Inherited methods

def and[H[_]](h: FunctionK[Axn, H]): FunctionK[Axn, [_] =>> Tuple2K[F, 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[F, H]): FunctionK[Axn, 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 override def apply[A](a: Axn[A]): F[A]

Applies this functor transformation from F to G

Applies this functor transformation from F to G

Attributes

Definition Classes
Inherited from:
Reactive
Source
Reactive.scala
def apply[A, B](r: Rxn[A, B], a: A, s: Spin): F[B]

Attributes

Inherited from:
Reactive
Source
Reactive.scala
def compose[E[_]](f: FunctionK[E, Axn]): FunctionK[E, F]

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 mcasImpl: Mcas

Attributes

Inherited from:
Reactive
Source
Reactive.scala
def monad: Monad[F]

Attributes

Inherited from:
Reactive
Source
Reactive.scala
def narrow[F0 <: (Axn)]: FunctionK[F0, F]

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, F]): FunctionK[[_] =>> EitherK[Axn, H, _$6], F]

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
final def run[A](a: Axn[A], s: Spin): F[A]

Attributes

Inherited from:
Reactive
Source
Reactive.scala
def widen[G0[x]]: FunctionK[Axn, 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