generate_instances_for_object
Description:
public void generate_instances_for_object (Component icalcomp, long start, long end, Cancellable? cancellable, owned RecurInstanceCb cb)
Does a combination of get_object_list and recur_generate_instances_sync, like generate_instances, but for a single object.
Unlike generate_instances_for_object_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. |
icalcomp |
Object to generate instances from. |
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 |