Source

ox.channels.Source
See theSource companion object
trait Source[+T] extends SourceOps[T]

Attributes

Companion
object
Graph
Supertypes
trait SourceOps[T]
class Object
trait Matchable
class Any
Known subtypes
trait Channel[T]
class BufferedChannel[T]
class DirectChannel[T]
class CollectSource[T, U]

Members list

Type members

Classlikes

case class Receive extends SelectClause[T]

Attributes

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

Supertypes
trait Serializable
trait Product
trait Equals
trait SelectResult[T]
class Object
trait Matchable
class Any
Show all

Value members

Abstract methods

def receive(): T | ChannelClosed

Inherited methods

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

Attributes

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

Attributes

Inherited from:
SourceOps
def drain(): Unit

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
SourceOps
def pipeTo(sink: Sink[T]): 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[T] => 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

Concrete fields