SyncChannel

@deprecated("Use `java.util.concurrent.Exchanger` instead.", since = "2.13.0")
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.

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

Value members

Concrete methods

def write(data: A): Unit