channel |
Defined in
<concurrency/channel.hpp> |
Creates a pair that consists of a sender and a receiver
Creates a channel that consists of a sending and a receiving part of the channel.
Parameters
Executor which is used to send the passed values from the sender down to the receiver. |
Returns
A pair of sender
- receiver
of type T
that form a channel in case that T
is not of type void
. In case of type void
it returns only a channel of type void
.