BaseUnfoldCpsAsyncEmitAbsorber

cps.stream.BaseUnfoldCpsAsyncEmitAbsorber
trait BaseUnfoldCpsAsyncEmitAbsorber[R, F[_], C <: CpsMonadContext[F], T](using ec: ExecutionContext, auxAsyncMonad: Aux[F, C]) extends CpsAsyncEmitAbsorber4[R, F, C, T]

Attributes

Graph
Supertypes
trait CpsAsyncEmitAbsorber4[R, F, C, T]
class Object
trait Matchable
class Any
Known subtypes
class AsyncListEmitAbsorber[F, C, T]

Members list

Concise view

Type members

Classlikes

case class Emitted(value: T, emitCallback: Try[Unit] => Unit) extends SupplyEventRecord

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Finished(result: Try[Unit]) extends SupplyEventRecord

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case object SpawnEmitter extends SupplyEventRecord

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
class State

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class StepsObserver(state: State) extends CpsAsyncEmitter[F, T]

Attributes

Graph
Supertypes
trait CpsAsyncEmitter[F, T]
class Object
trait Matchable
class Any
sealed class SupplyEventRecord

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Emitted
class Finished
object SpawnEmitter.type

Types

type OneThreadTaskCallback = Unit => Unit

Inherited types

override type Context = C

Attributes

Inherited from:
CpsAsyncEmitAbsorber4
override type Element = T

Attributes

Inherited from:
CpsAsyncEmitAbsorber4
override type Monad[X] = F[X]

Attributes

Inherited from:
CpsAsyncEmitAbsorber4

Value members

Abstract methods

def asSync(fs: F[R]): R
def unfold[S](s0: S)(f: S => F[Option[(T, S)]]): R

Concrete methods

def eval(f: C => CpsAsyncEmitter[Monad, Element] => F[Unit]): R
def evalAsync(f: C => CpsAsyncEmitter[F, T] => F[Unit]): F[R]
def evalAsyncInContext(f: CpsAsyncEmitter[F, T] => F[Unit]): R

Concrete fields

val asyncMonad: Aux[F, C]
val unitSuccess: Success[Unit]