Function1AndThenCallChainSubst

cps.runtime.Function1AndThenCallChainSubst
class Function1AndThenCallChainSubst[F[_], A, B, C](f: A => B, g: B => F[C], m: CpsMonad[F]) extends CallChainAsyncShiftSubst[F, A => C, A => F[C]]

Attributes

Source
FunctionAsyncShift.scala
Graph
Supertypes
trait CallChainAsyncShiftSubst[F, A => C, A => F[C]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def _finishChain: A => F[C]

called when we have no calls in futher chain.

called when we have no calls in futher chain.

Attributes

Definition Classes
Source
FunctionAsyncShift.scala
def andThen[D](h: C => D): Function1AndThenCallChainSubst[F, A, B, D]

Attributes

Source
FunctionAsyncShift.scala
def andThen_async[D](h: C => F[D]): Function1AndThenCallChainSubst[F, A, B, D]

Attributes

Source
FunctionAsyncShift.scala
def apply(x: A): F[C]

Attributes

Source
FunctionAsyncShift.scala
def compose[Z](h: Z => A): Function1AndThenCallChainSubst[F, Z, B, C]

Attributes

Source
FunctionAsyncShift.scala
def compose_async[Z](h: Z => F[A]): Function1ComposeAndThenCallChainSubst[F, Z, A, C]

Attributes

Source
FunctionAsyncShift.scala