cps.stream
package cps.stream
Members list
Concise view
Type members
Classlikes
Minimal mutable async stream.
Minimal mutable async stream.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- Self type
object AsyncIterator
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- AsyncIterator.type
class AsyncIteratorEmitAbsorber[F[_], C <: CpsMonadContext[F], T](using ec: ExecutionContext, auxAsyncMonad: Aux[F, C]) extends CpsAsyncEmitAbsorber4[AsyncIterator[F, T], F, C, T]
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
object AsyncList
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
- class Objecttrait Matchableclass Any
class AsyncListIterator[F[_], T](l: AsyncList[F, T])(implicit evidence$1: CpsConcurrentMonad[F]) extends AsyncIterator[F, T]
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
trait BaseUnfoldCpsAsyncEmitAbsorber[R, F[_], C <: CpsMonadContext[F], T](using ec: ExecutionContext, auxAsyncMonad: Aux[F, C]) extends CpsAsyncEmitAbsorber4[R, F, C, T]
Attributes
- Graph
- Supertypes
- Known subtypes
This typeclass should be implemented for streams, which can be a target of asyncStream. i.e. if we want use generator of form
This typeclass should be implemented for streams, which can be a target of asyncStream. i.e. if we want use generator of form
asyncStream[R] { out =>
...
out.emit(value)
}
Then we should have an implementation of given CpsAsyncEmitAbsorber[R]
in the current scope.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
object CpsAsyncEmitAbsorber
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- CpsAsyncEmitAbsorber.type
trait CpsAsyncEmitAbsorber4[R, F[_], C <: CpsMonadContext[F], T](using val auxAsyncMonad: Aux[F, C]) extends CpsAsyncEmitAbsorber[R]
Attributes
- Graph
- Supertypes
- Known subtypes
Emitter which should be a parameter of asyncStream expression.
Emitter which should be a parameter of asyncStream expression.
asyncStream[AsyncList[F,Int]] { out =>
for(i <- 1 to 10)
out.emit(i)
}
Here out have a CpsAsyncEmitter[AsyncList[F,Int],F,E]
type.
Attributes
- See also:
[cps. asyncStream]
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class StepsObserver
object CpsAsyncStreamMacro
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- CpsAsyncStreamMacro.type