Channel

ox.channels.Channel
See theChannel companion class
object Channel

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Channel.type

Members list

Value members

Concrete methods

def apply[T](capacity: Int): Channel[T]

Creates a buffered channel (when capacity is positive), or a rendezvous channel if the capacity is 0.

Creates a buffered channel (when capacity is positive), or a rendezvous channel if the capacity is 0.

Attributes

def unlimited[T]: Channel[T]

Creates an unlimited channel (which can buffer an arbitrary number of elements).

Creates an unlimited channel (which can buffer an arbitrary number of elements).

Attributes