CollectSource

ox.channels.CollectSource
class CollectSource[T, U](s: Source[T], f: T => Option[U]) extends Source[U]

Attributes

Graph
Supertypes
trait Source[U]
trait SourceOps[U]
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

case class Receive extends SelectClause[T]

Attributes

Inherited from:
Source
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectClause[T]
class Object
trait Matchable
class Any
Show all
case class Received extends SelectResult[T]

Attributes

Inherited from:
Source
Supertypes
trait Serializable
trait Product
trait Equals
trait SelectResult[T]
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

final override def receive(): U | ChannelClosed

Attributes

Definition Classes

Inherited methods

def collectAsView[U](f: PartialFunction[U, U]): Source[U]

Attributes

Inherited from:
SourceOps
def concat[U >: U](other: Source[U])(using Ox, StageCapacity): Source[U]

Attributes

Inherited from:
SourceOps
def drain(): Unit

Attributes

Inherited from:
SourceOps
def filter(f: U => Boolean)(using Ox, StageCapacity): Source[T]

Attributes

Inherited from:
SourceOps
def filterAsView(f: U => Boolean): Source[T]

Attributes

Inherited from:
SourceOps
def foreach(f: U => Unit): Unit

Attributes

Inherited from:
SourceOps
def map[U](f: U => U)(using Ox, StageCapacity): Source[U]

Attributes

Inherited from:
SourceOps
def mapAsView[U](f: U => U): Source[U]

Attributes

Inherited from:
SourceOps
def merge[U >: U](other: Source[U])(using Ox, StageCapacity): Source[U]

Attributes

Inherited from:
SourceOps
def pipeTo(sink: Sink[U]): Unit

Attributes

Inherited from:
SourceOps
def take(n: Int)(using Ox, StageCapacity): Source[T]

Attributes

Inherited from:
SourceOps
def toList: List[T]

Attributes

Inherited from:
SourceOps
def transform[U](f: Iterator[U] => Iterator[U])(using Ox, StageCapacity): Source[U]

Attributes

Inherited from:
SourceOps
def zip[U](other: Source[U])(using Ox, StageCapacity): Source[(T, U)]

Attributes

Inherited from:
SourceOps

Inherited fields

Attributes

Inherited from:
Source