uri_handle_recursively_async

@accepts(utf8, Gio.Cancellable, RB.UriRecurseFunc, gpointer, GLib.DestroyNotify)
@returns(none)
def uri_handle_recursively_async(uri, cancel, func, user_data, data_destroy)

Calls @func for each file found under the directory identified by @uri, or if @uri identifies a file, calls it once with that.

Directory recursion happens on a separate thread, but the callbacks are called on the main thread.

If non-NULL, @destroy_data will be called once all files have been processed, or when the operation is cancelled.

uri :

the URI to visit

cancel :

a GCancellable to allow cancellation

func :

callback function

user_data :

data to pass to callback

data_destroy :

function to call to free @user_data