int
priority = DEFAULT
, Cancellable
? cancellable = null) throws Error
int
priority = DEFAULT
, Cancellable
? cancellable = null) throws Error
Create an instance asynchronously
For classes which implement GLib.AsyncInitable
, the default implementation will create an instance of the class using
GLib.Object.new
then initialize the instance using GLib.AsyncInitable.init_async
. Otherwise, the default
implementation will simply invoke create in an idle callback. You can
override this method in a subclass to provide a customized method for instantiating your object asynchronously.
the newly created instance |