closeAsync

open fun closeAsync(ioPriority: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Asynchronously closes the file enumerator.

If @cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error %G_IO_ERROR_CANCELLED will be returned in g_file_enumerator_close_finish().

Parameters

ioPriority

the io-priority of the request

cancellable

optional #GCancellable object, null to ignore.

callback

a #GAsyncReadyCallback to call when the request is satisfied