Creates a new merge channel.
Synopsis
Declared in <folly/channels/MergeChannel.h>
template<
typename KeyType,
typename ValueType>
std::pair<Receiver<MergeChannelEvent<KeyType, ValueType>>, MergeChannel<KeyType, ValueType>>
createMergeChannel(folly::Executor::KeepAlive<folly::SequencedExecutor> executor);
Return Value
A pair holding the output receiver and the new merge channel.
Parameters
Name |
Description |
executor |
The SequencedExecutor to use for merging values. |
Created with MrDocs