[ CCode ( cname = "rest_proxy_call_async" ) ]
public bool run_async (ProxyCallAsyncCallback callback, Object? weak_object = null) throws Error
Asynchronously invoke this.
When the call has finished, callback will be called. If weak_object is disposed during the call then this call
will be cancelled. If the call is cancelled then the callback will be invoked with an error state.
You may unref the call after calling this function since there is an internal reference, or you may unref in the callback.
| this |
The ProxyCall |
| callback |
a ProxyCallAsyncCallback to invoke on completion of the call |
| weak_object |
The Object to weakly reference and tie the lifecycle too |
| userdata |
data to pass to |