TensorFlow Serving C++ API Documentation
|
#include <event_bus.h>
Public Member Functions | |
~Subscription () | |
Unsubscribes the subscriber. | |
Friends | |
class | EventBus |
Subscription is an RAII object and tracks the lifecycle of a single subscription to an EventBus. Upon destruction, it automatically Unsubscribes from the originating EventBus.
Note that Subscription only maintains weak_ptr references to the EventBus, such that the EventBus and Subscriptions can be safely destructed in any order. Subscription is not an owner of EventBus.
Definition at line 74 of file event_bus.h.