Cons

cps.stream.AsyncList$.Cons
case class Cons[F[_], T](head: T, tailFun: () => AsyncList[F, T])(implicit evidence$3: CpsConcurrentMonad[F]) extends AsyncList[F, T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AsyncList[F, T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def append[S >: T](x: => AsyncList[F, S]): AsyncList[F, S]
def filter(p: T => Boolean): AsyncList[F, T]
def filterAsync(p: T => F[Boolean]): AsyncList[F, T]
def find(p: T => Boolean): F[Option[T]]
def findAsync(p: T => F[Boolean]): F[Option[T]]
def flatMap[S](f: T => AsyncList[F, S]): AsyncList[F, S]
def flatMapAsync[S](f: T => F[AsyncList[F, S]]): AsyncList[F, S]
def fold[S](s0: S)(f: (S, T) => S): F[S]
def foldAsync[S](s0: S)(f: (S, T) => F[S]): F[S]
def map[S](f: T => S): AsyncList[F, S]
def mapAsync[S](f: T => F[S]): AsyncList[F, S]
def merge[S >: T](other: AsyncList[F, S]): AsyncList[F, S]
def next: F[Option[(T, AsyncList[F, T])]]
def scanTail[S](s0: S)(f: (S, T) => S): AsyncList[F, S]
def scanTailAsync[S](s0: S)(f: (S, T) => F[S]): AsyncList[F, S]
def skip(n: Int): AsyncList[F, T]
def takeTo[B <: Growable[T]](buffer: B, n: Int): F[B]

Inherited methods

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

Attributes

Inherited from:
AsyncList
def foreach[U](f: T => U): F[Unit]

Attributes

Inherited from:
AsyncList
def foreachAsync[U](f: T => F[U]): F[Unit]

Attributes

Inherited from:
AsyncList
def iterator(using ExecutionContext): AsyncIterator[F, T]

Attributes

Inherited from:
AsyncList
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def scan[S](s0: S)(f: (S, T) => S): AsyncList[F, S]

Attributes

Inherited from:
AsyncList
def scanAsync[S](s0: S)(f: (S, T) => F[S]): AsyncList[F, S]

Attributes

Inherited from:
AsyncList
def take[CC[_]](n: Int)(using Factory[T, CC[T]]): F[CC[T]]

Attributes

Inherited from:
AsyncList
def takeAll[CC[_]](n: Int)(using Factory[T, CC[T]]): F[CC[T]]

Attributes

Inherited from:
AsyncList
def takeList(n: Int): F[List[T]]

Attributes

Inherited from:
AsyncList
def takeListAll(): F[List[T]]

Attributes

Inherited from:
AsyncList