Seastar
High performance C++ framework for concurrent servers
Classes | Public Member Functions | List of all members
seastar::abort_source::subscription Class Reference

Detailed Description

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>

Inheritance diagram for seastar::abort_source::subscription:

Public Member Functions

 subscription (subscription &&other) noexcept(std::is_nothrow_move_constructible_v< subscription_callback_type >)
 
subscriptionoperator= (subscription &&other) noexcept(std::is_nothrow_move_assignable_v< subscription_callback_type >)
 
 operator bool () const noexcept
 

The documentation for this class was generated from the following file: