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

Source
AsyncList.scala
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, emitPromise: Promise[Unit]) extends SupplyEventRecord

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
Source
BaseUnfoldCpsAsyncEmitAbsorber.scala
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
Source
BaseUnfoldCpsAsyncEmitAbsorber.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object SpawnEmitter extends SupplyEventRecord

Attributes

Inherited from:
BaseUnfoldCpsAsyncEmitAbsorber
Source
BaseUnfoldCpsAsyncEmitAbsorber.scala
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
Source
BaseUnfoldCpsAsyncEmitAbsorber.scala
Supertypes
class Object
trait Matchable
class Any
class StepsObserver(state: State) extends CpsAsyncEmitter[F, T]

Attributes

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

Attributes

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

Types

override type Element = T

Attributes

Source
AsyncList.scala

Inherited types

override type Context = C

Attributes

Inherited from:
CpsAsyncEmitAbsorber4
Source
CpsAsyncEmitAbsorber.scala
override type Monad[X] = F[X]

Attributes

Inherited from:
CpsAsyncEmitAbsorber4
Source
CpsAsyncEmitAbsorber.scala
type OneThreadTaskCallback = Unit => Unit

Value members

Concrete methods

def asSync(fs: F[AsyncList[F, T]]): AsyncList[F, T]

Attributes

Source
AsyncList.scala
def unfold[S](s0: S)(f: S => F[Option[(T, S)]]): AsyncList[F, T]

Attributes

Source
AsyncList.scala

Inherited methods

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

Givens

Inherited givens

given asyncMonad: CpsConcurrentMonad[F] { type Context = C; }
given auxAsyncMonad: Aux[F, C]

Attributes

Inherited from:
CpsAsyncEmitAbsorber4
Source
CpsAsyncEmitAbsorber.scala