-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Extender::PeerEventCallback
Karel Donk edited this page Dec 10, 2019
·
1 revision
This callback function gets called by the QuantumGate instance to notify an extender of a peer event.
Callback<void(PeerEvent&&)>;
Type | Description |
---|---|
PeerEvent&& |
A QuantumGate::Extender::PeerEvent object containing details about the event. |
Note that it's possible for a QuantumGate instance to invoke this callback function simultaneously from multiple threads. Therefore if you access shared resources (memory, variables, files, etc.) from within this callback function, make sure that you build in the necessary synchronization (using mutexes etc.).