BChan is an abstract type representing a bounded FIFO channel.
Modulebrick-2.10Haskell2010
Brick.BChan
- 1 type
- 5 values
- Packagebrick-2.10
- Exports6
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceBChan.hs
Builds and returns a new instance of BChan.
Writes a value to a BChan; blocks if the channel is full.
Reads the next value from the BChan; blocks if necessary.
Reads the next value from either BChan, prioritizing the first
BChan; blocks if necessary.