A callback handle for a consumption operation on a channel. The consumption operation will be cancelled when this handle is destroyed.
Synopsis
Declared in <folly/channels/ChannelCallbackHandle.h>
class ChannelCallbackHandle;
Member Functions
Name |
Description |
|
Constructors |
|
Destroys the handle, cancelling the consumption operation if still active. |
Move‐assigns a handle, cancelling the current operation and transferring ownership. |
|
Cancels the consumption operation and detaches this handle. |
Non-Member Functions
Name |
Description |
This function takes a Receiver, and consumes updates from that receiver with a callback. |
Created with MrDocs