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(0x7f9521bf8168), requires_capability(0x7f9500a48038), requires_capability(0x7f951f8ebdb8), requires_capability(0x7f950d443aa8), requires_capability(0x7f95133b62e8), requires_capability(0x7f95231b7278), requires_capability(0x7f9516ce7ac8), requires_capability(0x7f9503ad1f18)]]
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. |