![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
Public Member Functions | |
| template<typename Callable > | |
| connection_holder (Callable &&callback) | |
| std::shared_ptr< const function_type > | callback () const |
| Return the callback, or null if disconnected. | |
Public Member Functions inherited from btcsignals::connection::liveness | |
| bool | connected () const |
Additional Inherited Members | |
Protected Member Functions inherited from btcsignals::connection::liveness | |
| liveness (std::shared_ptr< const void > callback) | |
| std::shared_ptr< const void > | load () const |
Definition at line 202 of file btcsignals.h.
|
inlineexplicit |
Definition at line 204 of file btcsignals.h.
|
inline |
Return the callback, or null if disconnected.
The callback stays alive while the returned pointer is held.
Definition at line 211 of file btcsignals.h.