Stop an events handler. The stop function is needed such that the eventhandler can be stopped without race conditions. When the events handler has been stopped the next event or if there’s a current unresolved future will resolve imediately with the status code STOPPED.
NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API nabto_client_listener_stop(NabtoClientListener* listener)
- [in] The listener.