Method
DexFuturefinally
Declaration [src]
DexFuture*
dex_future_finally (
DexFuture* future,
DexFutureCallback callback,
gpointer callback_data,
GDestroyNotify callback_data_destroy
)
Description [src]
Calls callback when future resolves or rejects.
This method is not directly available to language bindings.
Parameters
callback-
Type:
DexFutureCallbackA callback to execute.
callback_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the function. callback_data_destroy-
Type:
GDestroyNotifyDestroy notify for
callback_data.
Return value
Type: DexFuture
A DexFuture.
| The caller of the method takes ownership of the data, and is responsible for freeing it. |