AsyncExchanger<T>
Represents a synchronization point at which two async flows can cooperate and swap elements
within pairs.
Gets a value indicating whether this exchange has been terminated.
public AsyncExchanger()
Provides graceful shutdown of this instance.
Waits for another flow to arrive at this exchange point,
then transfers the given object to it, receiving its object as return value.
Waits for another flow to arrive at this exchange point,
then transfers the given object to it, receiving its object as return value.
Informs another participant that no more data will be exchanged with it.
Attempts to transfer the object to another flow synchronously.