AsyncList

cps.stream.AsyncList
See theAsyncList companion object
sealed trait AsyncList[F[_], +T]

Mininal async stream.

Attributes

Companion
object
Source
AsyncList.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Cons[F, T]
class Empty[F]
class Wait[F, T]

Members list

Value members

Abstract methods

def append[S >: T](x: => AsyncList[F, S]): AsyncList[F, S]

Attributes

Source
AsyncList.scala
def filter(p: T => Boolean): AsyncList[F, T]

Attributes

Source
AsyncList.scala
def filterAsync(p: T => F[Boolean]): AsyncList[F, T]

Attributes

Source
AsyncList.scala
def find(p: T => Boolean): F[Option[T]]

Attributes

Source
AsyncList.scala
def findAsync(p: (T) => F[Boolean]): F[Option[T]]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
AsyncList.scala
def merge[S >: T](other: AsyncList[F, S]): AsyncList[F, S]

Attributes

Source
AsyncList.scala
def next: F[Option[(T, AsyncList[F, T])]]

Attributes

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

Attributes

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

Attributes

Source
AsyncList.scala
def skip(n: Int): AsyncList[F, T]

Attributes

Source
AsyncList.scala
def takeTo[B <: Growable[T]](buffer: B, n: Int): F[B]

Attributes

Source
AsyncList.scala

Concrete methods

def ><[S >: T](other: AsyncList[F, S]): AsyncList[F, S]

alias for merge

alias for merge

Attributes

Source
AsyncList.scala
def appendAsync[S >: T](x: () => F[AsyncList[F, S]]): AsyncList[F, S]

Attributes

Source
AsyncList.scala
def foreach[U](f: T => U): F[Unit]

Attributes

Source
AsyncList.scala
def foreachAsync[U](f: T => F[U]): F[Unit]

Attributes

Source
AsyncList.scala
def iterator(using ExecutionContext): AsyncIterator[F, T]

Attributes

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

Attributes

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

Attributes

Source
AsyncList.scala
def take[CC[_]](n: Int)(using Factory[T, CC[T]]): F[CC[T]]

Attributes

Source
AsyncList.scala
def takeAll[CC[_]](n: Int)(using Factory[T, CC[T]]): F[CC[T]]

Attributes

Source
AsyncList.scala
def takeList(n: Int): F[List[T]]

Attributes

Source
AsyncList.scala
def takeListAll(): F[List[T]]

Attributes

Source
AsyncList.scala