schedulerAddFull

Adds a new callback that will be executed as time permits on the main thread.

This is useful when you need to do a lot of background work but want to do it incrementally.

callback will be provided a deadline that it should complete it's work by (or near) and can be checked using funcGLib.get_monotonic_time for comparison.

Use funcscheduler_remove to remove the handler.

Parameters

callback gtksource.types.SchedulerCallback

the callback to execute

Return Value

Type: size_t