TypeScript API Documentation for GTKSOURCEVIEW
API Version: 5
Library Version: 5.18.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 5.2
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 GLib.get_monotonic_time for comparison.
callback
Use scheduler_remove to remove the handler.
the callback to execute
5.2
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.
callbackwill be provided a deadline that it should complete it's work by (or near) and can be checked using GLib.get_monotonic_time for comparison.Use scheduler_remove to remove the handler.