class Concurrent::Promises::Channel

A first in first out channel that accepts messages with push family of methods and returns messages with pop family of methods. Pop and push operations can be represented as futures, see {#pop_op} and {#push_op}. The capacity of the channel can be limited to support back pressure, use capacity option in {#initialize}. {#pop} method blocks ans {#pop_op} returns pending future if there is no message in the channel. If the capacity is limited the {#push} method blocks and {#push_op} returns pending future.

{include:file:docs-source/channel.out.md} @!macro warn.edge