PartialFunctionCallChainSubst

cps.runtime.PartialFunctionCallChainSubst
See thePartialFunctionCallChainSubst companion object
trait PartialFunctionCallChainSubst[F[_], A, B](m: CpsMonad[F]) extends CallChainAsyncShiftSubst[F, PartialFunction[A, B], A => F[B]]

Attributes

Companion
object
Source
PartialFunctionAsyncShift.scala
Graph
Supertypes
trait CallChainAsyncShiftSubst[F, PartialFunction[A, B], A => F[B]]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def apply(x: A): F[B]
def applyContOrElse[A1 <: A, C](x: A1, ifApply: B => C, ifNot: A1 => C): F[C]
def applyContOrElse_async[A1 <: A, C](x: A1, ifApply: B => F[C], ifNot: A1 => F[C]): F[C]
def isDefinedAt(x: A): F[Boolean]

Concrete methods

def _finishChain: A => F[B]

called when we have no calls in futher chain.

called when we have no calls in futher chain.

Attributes

Source
PartialFunctionAsyncShift.scala
infix def andThen[C](g: B => C): PartialFunctionCallChainSubst[F, A, C]
infix def andThen[C](g: PartialFunction[B, C]): PartialFunctionCallChainSubst[F, A, C]
def andThen_async[C](g: B => F[C]): PartialFunctionCallChainSubst[F, A, C]
def andThen_async[C](g: PartialFunction[B, F[C]]): PartialFunctionCallChainSubst[F, A, C]
def applyOrElse[A1 <: A, B1 >: B](x: A1, default: A1 => B1): F[B1]
def applyOrElse_async[A1 <: A, B1 >: B](x: A1, default: A1 => F[B1]): F[B1]
def compose[Z](g: PartialFunction[Z, A]): PartialFunctionCallChainSubst[F, Z, B]
def compose[Z](g: Z => A): PartialFunctionCallChainSubst[F, Z, B]
def compose_async[Z](g: PartialFunction[Z, F[A]]): PartialFunctionCallChainSubst[F, Z, B]
def compose_async[Z](g: Z => F[A]): PartialFunctionCallChainSubst[F, Z, B]
def lift: CallChainAsyncShiftSubst[F, A => Option[B], A => F[Option[B]]]
def orElse[A1 <: A, B1 >: B](g: PartialFunctionCallChainSubst[F, A1, B1]): PartialFunctionCallChainSubst[F, A1, B1]