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(0x7fb96c3acd88), requires_capability(0x7fb984ed0ca8), requires_capability(0x7fb967e4eaa8), requires_capability(0x7fb97e4a26e8), requires_capability(0x7fb987182e88), requires_capability(0x7fb94c1a4948), requires_capability(0x7fb96b811d28), requires_capability(0x7fb964056988)]]
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