nabto_client_listener_stop()

DESCRIPTION

Stop a listener. The stop function is needed such that the listener can be stopped without race conditions. When the listener has been stopped the next event or if there’s a current unresolved future will resolve 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.