Seastar
High performance C++ framework for concurrent servers
|
Represents a handle to the callback registered by a given fiber. Ending the lifetime of the subscription
will unregister the callback, if it hasn't been invoked yet.
#include <seastar/core/abort_source.hh>
Public Member Functions | |
subscription (subscription &&other) noexcept(std::is_nothrow_move_constructible_v< subscription_callback_type >) | |
subscription & | operator= (subscription &&other) noexcept(std::is_nothrow_move_assignable_v< subscription_callback_type >) |
operator bool () const noexcept | |