Merge the given tokens into a single CancellationToken.
Declared in <folly/CancellationToken.h>
template<typename... Ts>
CancellationToken
cancellation_token_merge(Ts&&... tokens);
This function is defined as an Algorithm Function Object (AFO).
A token that is cancelled when any of tokens is cancelled.
| Name | Description |
|---|---|
| tokens | The cancellation tokens to merge. |