Connect a new callback to the signal. A forwarding callable accepts anything that can be stored in a std::function.
Synopsis
Declared in <util/btcsignals.h>
template<typename Callable>
[[requires_capability(0x7fbc9d845268), requires_capability(0x7fbc9403abf8), requires_capability(0x7fbca7ececa8), requires_capability(0x7fbc94351e88), requires_capability(0x7fbc86141cd8), requires_capability(0x7fbca297b668), requires_capability(0x7fbc84e31068), requires_capability(0x7fbc8f43fbe8)]]
connection
connect(Callable&& func);
Return Value
A connection that can be held and disabled later.
Template Parameters
Name |
Description |
Callable |
The type of the callback, storable in a std::function. |
Parameters
Name |
Description |
func |
The callback to connect. |
Created with MrDocs