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(0x7fd7482bc328), requires_capability(0x7fd74caa0078), requires_capability(0x7fd75ace3248), requires_capability(0x7fd7683a9d18), requires_capability(0x7fd75fe25158), requires_capability(0x7fd7560823f8), requires_capability(0x7fd75dda5cf8), requires_capability(0x7fd74f704768)]]
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