AsyncReadyCallback

typealias AsyncReadyCallback = (<Error class: unknown class>?, res: AsyncResult) -> Unit

Type definition for a function that will be called back when an asynchronous operation within GIO has been completed. #GAsyncReadyCallback callbacks from #GTask are guaranteed to be invoked in a later iteration of the g-main-context-push-thread-default where the #GTask was created. All other users of #GAsyncReadyCallback must likewise call it asynchronously in a later iteration of the main context.

The asynchronous operation is guaranteed to have held a reference to