[gio.async_initable.AsyncInitable.initAsync] instead. See #GParameter for more information.
AsyncInitable.newvAsync
void newvAsync(gobject.types.GType objectType, uint nParameters, gobject.parameter.Parameter parameters, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Helper function for constructing #GAsyncInitable object. This is similar to [gobject.object.ObjectWrap.newv] but also initializes the object asynchronously.
When the initialization is finished, callback will be called. You can then call [gio.async_initable.AsyncInitable.newFinish] to get the new object and check for any errors.
Parameters
objectType | a #GType supporting #GAsyncInitable. |
nParameters | the number of parameters in parameters |
parameters | the parameters to use to construct the object |
ioPriority | the [I/O priority][io-priority] of the operation |
cancellable | optional #GCancellable object, null to ignore. |
callback | a #GAsyncReadyCallback to call when the initialization is finished |
Deprecated
Use [gobject.object.ObjectWrap.newWithProperties] and