Cons

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

Attributes

Source
AsyncList.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AsyncList[F, T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete 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
infix 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

Inherited methods

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

alias for merge

alias for merge

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AsyncList
Source
AsyncList.scala
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
Source
AsyncList.scala
def scanAsync[S](s0: S)(f: (S, T) => F[S]): AsyncList[F, S]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AsyncList
Source
AsyncList.scala