Companion
object Companion
Functions
Link copied to clipboard
fun isValid(result: AsyncResult, source: <Error class: unknown class>? = null, sourceTag: <Error class: unknown class>? = null): Boolean
Ensures that the data passed to the _finish function of an async operation is consistent. Three checks are performed.
Link copied to clipboard
fun newFromError(sourceObject: <Error class: unknown class>? = null, callback: AsyncReadyCallback?, error: <Error class: unknown class>): SimpleAsyncResult
Creates a #GSimpleAsyncResult from an error condition.
Link copied to clipboard
fun newTakeError(sourceObject: <Error class: unknown class>? = null, callback: AsyncReadyCallback?, error: <Error class: unknown class>): SimpleAsyncResult
Creates a #GSimpleAsyncResult from an error condition, and takes over the caller's ownership of @error, so the caller does not need to free it anymore.