Gck.Object.prototype.get_async
function get_async(attr_types: Array(Number(gulong)), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for gck_object_get_async() }
Get the specified attributes from the object. The attributes will be cleared of their current values, and new attributes will be stored. The attributes should not be accessed in any way except for referencing and unreferencing them until Gck.Object.prototype.get_finish is called.
This call returns immediately and completes asynchronously.
- attr_types
the types of the attributes to get
- cancellable
optional cancellation object, or null
- callback
A callback which is called when the operation completes.