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 g_file_enumerator_close_finish().

class FileEnumerator
void
closeAsync

Parameters

ioPriority int

the I/O priority of the request.

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback to call when the request is satisfied. [scope async]

userData void*

the data to pass to callback function. closure

Meta