FileEnumerator.closeAsync

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 FileEnumerator.closeFinish.

class FileEnumerator
void
closeAsync

Parameters

ioPriority int

the [I/O priority][io-priority] of the request

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

callback GAsyncReadyCallback

a GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function