Gio.UnixConnection.prototype.send_credentials_async
function send_credentials_async(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for g_unix_connection_send_credentials_async() }
Asynchronously send credentials.
For more details, see Gio.UnixConnection.prototype.send_credentials which is the synchronous version of this call.
When the operation is finished, callback will be called. You can then call Gio.UnixConnection.prototype.send_credentials_finish to get the result of the operation.
Since 2.32
- cancellable
optional Gio.Cancellable object, null to ignore.
- callback
a Gio.AsyncReadyCallback to call when the request is satisfied