generate_instances


Description:

public void generate_instances (long start, long end, Cancellable? cancellable, owned RecurInstanceCb cb)

Does a combination of get_object_list and recur_generate_instances_sync.

Unlike generate_instances_sync, this returns immediately and the cb callback is called asynchronously.

The callback function should do a @ref of the calendar component it gets passed if it intends to keep it around, since it will be unref'ed as soon as the callback returns.

Parameters:

this

A calendar client.

start

Start time for query.

end

End time for query.

cancellable

a Cancellable; can be null

cb

Callback for each generated instance.

cb_data

Closure data for the callback.

destroy_cb_data

Function to call when the processing is done, to free cb_data; can be null.