Connect a new callback to the signal. A forwarding callable accepts anything that can be stored in a std::function.
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);
A connection that can be held and disabled later.
| Name | Description |
|---|---|
| Callable | The type of the callback, storable in a std::function. |
| Name | Description |
|---|---|
| func | The callback to connect. |