PlatformSchedulerHooks
interface PlatformSchedulerHooks
Platform scheduler hooks.
Design note
This is a low-level hook surface used by ktale-core and adapters to map KTale scheduling concepts onto a host runtime.
Implementations should be deterministic where possible and make TaskHandle.cancel idempotent.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun runAsyncRepeating(initialDelay: Duration, interval: Duration, task: Runnable): TaskHandle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun runSyncRepeating(initialDelay: Duration, interval: Duration, task: Runnable): TaskHandle