Initialize a future for the event listener, the future is resolved when a new connection event is ready or the listener has been stopped.
NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API nabto_client_listener_connection_event(NabtoClientListener* listener, NabtoClientFuture* future, NabtoClientConnectionEvent* event)
- The listener.
- The future which is resolved when an connection event is ready.
- The event which is overwritten when the future resolves with NABTO_CLIENT_EC_OK.