SyncChannel

scala.concurrent.SyncChannel
class SyncChannel[A]

A SyncChannel allows one to exchange data synchronously between a reader and a writer thread. The writer thread is blocked until the data to be written has been read by a corresponding reader thread.

Attributes

Deprecated
[Since version 2.13.0]
Source
SyncChannel.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def read: A

Attributes

Source
SyncChannel.scala
def write(data: A): Unit

Attributes

Source
SyncChannel.scala