Companion

object Companion

Properties

Link copied to clipboard
open val type: <Error class: unknown class><SimpleAsyncResult>

Functions

Link copied to clipboard
fun getType(): <Error class: unknown class>

Get the GType of SimpleAsyncResult

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.