Asynchronously calls method
with params
on the remote peer.
Upon completion or failure, callback
is executed and it should call [[email protected]_finish] to complete the request and
release any memory held.
This function is similar to [[email protected]_async] except that it allows the caller to get the id of the command which might be useful in systems where you can cancel the operation (such as the Language Server Protocol).
If params
is floating, the floating reference is consumed.
this |
A Client |
method |
The name of the method to call |
id |
A location for a [[email protected]] describing the identifier used for the method call, or null . |
cancellable |
A Cancellable or null |
callback |
Callback to executed upon completion |
params |
A [[email protected]] of parameters or null |
user_data |
User data for |