newFinish

open fun newFinish(res: AsyncResult): <Error class: unknown class><<Error class: unknown class>>

Finishes the async construction for the various g_async_initable_new calls, returning the created object or null on error.

Return

a newly created #GObject, or null on error. Free with g_object_unref().

Since

2.22

Parameters

res

the #GAsyncResult from the callback