gObjectNew
but also initializes the object asyncronously.gAsyncInitableNewAsync(object.type, io.priority, cancellable, callback, user.data, ...)
GType
supporting GAsyncInitable
.GCancellable
object, NULL
to ignore.GAsyncReadyCallback
to call when the initialization is
finishedNULL
.callback
will be called. You can
then call gAsyncInitableNewFinish
to get new object and check for
any errors.
Since 2.22