Deprecatedobject_type: GType
a GObject.GType supporting Gio.AsyncInitable.
Deprecatedn_parameters: number
the number of parameters in parameters
Deprecatedparameters: Parameter
the parameters to use to construct the object
Deprecatedio_priority: number
the I/O priority of the operation
Deprecatedcancellable: Gio.Cancellable
optional Gio.Cancellable object, null to ignore.
Deprecatedcallback: AsyncReadyCallback<GType<unknown>>
a Gio.AsyncReadyCallback to call when the initialization is finished
since 2.54: Use g_object_new_with_properties() and g_async_initable_init_async() instead. See GObject.Parameter for more information.
Helper function for constructing Gio.AsyncInitable object. This is similar to
g_object_newv()but also initializes the object asynchronously.When the initialization is finished,
callbackwill be called. You can then callg_async_initable_new_finish()to get the new object and check for any errors.