Helper function for constructing AsyncInitable object.
This is similar to new_valist but also initializes the object asynchronously.
When the initialization is finished, callback
will be called. You can then call
new_async.end to get the new object and check for any errors.
object_type |
a Type supporting AsyncInitable. |
first_property_name |
the name of the first property, followed by the value, and other property value pairs, and ended by null. |
var_args |
The var args list generated from |
io_priority |
the I/O priority of the operation |
cancellable |
optional Cancellable object, null to ignore. |
callback |
a AsyncReadyCallback to call when the initialization is finished |
user_data |
the data to pass to callback function |