nabto_client_future_ready()

DEPRECATED

This function is deprecated and should not be used for new implementations. Use nabto_client_future_error_code instead

DESCRIPTION

Query if a future is ready. Deprecated.

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_future_ready(NabtoClientFuture* future)

PARAMETERS

future:
[in] The future.

RETURNS

NABTO_CLIENT_EC_FUTURE_NOT_RESOLVED if the future is not resolved yet. If the future is resolved, the return value is whatever the underlying function returned.