SyncChannel (original) (raw)

Scala 3

Generated with

Copyright (c) 2002-2025, LAMP/EPFL

Copyright (c) 2002-2025, LAMP/EPFL

scala.concurrent.SyncChannel

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] Use `java.util.concurrent.Exchanger` instead.

Source

SyncChannel.scala

Graph

Supertypes

Members list

Value members

Concrete methods

In this article

Generated with

Copyright (c) 2002-2025, LAMP/EPFL

Copyright (c) 2002-2025, LAMP/EPFL