nabto_client_listener_stop()

DESCRIPTION

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.

DECLARATION

NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API
nabto_client_listener_stop(NabtoClientListener* listener)

PARAMETERS

listener:
[in] The listener.

RETURN VALUES

None.

EXAMPLES

None.