A callback handle for a consumption operation on a channel. The consumption operation will be cancelled when this handle is destroyed.
Declared in <folly/channels/ChannelCallbackHandle.h>
class ChannelCallbackHandle;
| Name | Description |
|---|---|
ChannelCallbackHandle [constructor] | Constructors |
~ChannelCallbackHandle [destructor] | Destroys the handle, cancelling the consumption operation if still active. |
operator= | Move-assigns a handle, cancelling the current operation and transferring ownership. |
reset | Cancels the consumption operation and detaches this handle. |
| Name | Description |
|---|---|
consumeChannelWithCallback | This function takes a Receiver, and consumes updates from that receiver with a callback. |