removeAllListeners #
Removes all listeners from an event.
Signature #
virtual void removeAllListeners(kuzzleio::Event event) = 0;
Arguments #
Argument | Type | Description |
---|---|---|
event | kuzzleio::Event | Enum representing the event to emit |
listener | kuzzleio::EventListener* | Pointer to a c++11 lambda |
event #
One of the following event:
EVENT_CONNECTED,
EVENT_DISCARDED,
EVENT_DISCONNECTED,
EVENT_LOGIN_ATTEMPT,
EVENT_NETWORK_ERROR,
EVENT_OFFLINE_QUEUE_POP,
EVENT_OFFLINE_QUEUE_PUSH,
EVENT_QUERY_ERROR,
EVENT_RECONNECTED,
EVENT_JWT_EXPIRED,
EVENT_ERROR
Edit this page on Github(opens new window)