Gck.Object.prototype.get_data_async
function get_data_async(attr_type: Number(gulong), allocator: Gck.Allocator, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for gck_object_get_data_async() }
Get the data for the specified attribute from the object.
This call will return immediately and complete asynchronously.
- attr_type
The attribute to get data for.
- allocator
An allocator with which to allocate memory for the data, or NULL for default.
- cancellable
Optional cancellation object, or NULL.
- callback
Called when the operation completes.