generate_instances


Description:

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

Does a combination of get_object_list () and e_cal_client_recur_generate_instancess().

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:

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.




2022 vala-language.org