AsyncListEmitAbsorber

cps.stream.AsyncListEmitAbsorber
class AsyncListEmitAbsorber[F[_], C <: CpsMonadContext[F], T](using ec: ExecutionContext, auxMonad: Aux[F, C]) extends BaseUnfoldCpsAsyncEmitAbsorber[AsyncList[F, T], F, C, T]

Attributes

Graph
Supertypes
trait CpsAsyncEmitAbsorber4[AsyncList[F, T], F, C, T]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

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

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Finished(result: Try[Unit]) extends SupplyEventRecord

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object SpawnEmitter extends SupplyEventRecord

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class State

Attributes

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

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
Supertypes
trait CpsAsyncEmitter[F, T]
class Object
trait Matchable
class Any
sealed class SupplyEventRecord

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Emitted
class Finished
object SpawnEmitter.type

Types

override type Element = T

Inherited types

type ConsumerCallback = Try[SupplyEventRecord] => Unit

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
override type Context = C

Attributes

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

Attributes

Inherited from:
CpsAsyncEmitAbsorber4
type OneThreadTaskCallback = Unit => Unit

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber

Value members

Concrete methods

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

Inherited methods

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

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
def evalAsync(f: C => CpsAsyncEmitter[F, T] => F[Unit]): F[R]

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
def evalAsyncInContext(f: CpsAsyncEmitter[F, T] => F[Unit]): R

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber

Inherited fields

val asyncMonad: Aux[F, C]

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
val unitSuccess: Success[Unit]

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber

Givens

Inherited givens

given auxAsyncMonad: Aux[F, C]

Attributes

Inherited from:
CpsAsyncEmitAbsorber4