EventStreamOptionT

io.laminext.core.EventStreamOptionT
class EventStreamOptionT[A](val value: EventStream[Option[A]])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def cata[B](default: => B, f: A => B): EventStream[B]

Catamorphism on the Option. This is identical to fold, but it only has one parameter list, which can result in better type inference in some contexts.

Catamorphism on the Option. This is identical to fold, but it only has one parameter list, which can result in better type inference in some contexts.

Attributes

def cataF[B](default: => EventStream[B], f: A => EventStream[B]): EventStream[B]

Effectful catamorphism on the Option. This is identical to foldF, but it only has one parameter list, which can result in better type inference in some contexts.

Effectful catamorphism on the Option. This is identical to foldF, but it only has one parameter list, which can result in better type inference in some contexts.

Attributes

def collect[B](f: PartialFunction[A, B]): EventStreamOptionT[B]
def exists(f: A => Boolean): EventStream[Boolean]
def filter(p: A => Boolean): EventStreamOptionT[A]
def filterNot(p: A => Boolean): EventStreamOptionT[A]
def flatMapF[B](f: A => EventStream[Option[B]]): EventStreamOptionT[B]
def flatTransform[B](f: Option[A] => EventStream[Option[B]]): EventStreamOptionT[B]
def fold[B](default: => B)(f: A => B): EventStream[B]
def foldF[B](default: => EventStream[B])(f: A => EventStream[B]): EventStream[B]

Transform this EventStreamOptionT[A] into a EventStream[B].

Transform this EventStreamOptionT[A] into a EventStream[B].

Attributes

def forall(f: A => Boolean): EventStream[Boolean]
def getOrElse[B >: A](default: => B): EventStream[B]
def getOrElseF[B >: A](default: => EventStream[B]): EventStream[B]
def isDefined: EventStream[Boolean]
def isEmpty: EventStream[Boolean]
def map[B](f: A => B): EventStreamOptionT[B]
def mapFilter[B](f: A => Option[B]): EventStreamOptionT[B]
def orElseF(default: => EventStream[Option[A]]): EventStreamOptionT[A]
def subflatMap[B](f: A => Option[B]): EventStreamOptionT[B]
def toLeft[R](right: => R): EventStreamEitherT[A, R]
def toLeftF[R](right: => EventStream[R]): EventStreamEitherT[A, R]
def toRight[L](left: => L): EventStreamEitherT[L, A]
def toRightF[L](left: => EventStream[L]): EventStreamEitherT[L, A]
def transform[B](f: Option[A] => Option[B]): EventStreamOptionT[B]
def withFilter(p: A => Boolean): EventStreamOptionT[A]

Concrete fields

val value: EventStream[Option[A]]