TaskScheduler
Internal scheduling abstraction used by platform implementations.
Extends KmpWorker with no additional API surface — exists as a named type so platform modules can implement a single, focused contract.
enqueueChain and observeChain are intentionally NOT implemented here — they are handled at the KmpWorker layer (AndroidKmpWorker / IOSKmpWorker).
Platform implementations:
Android → io.neuralheads.kmpworker.android.AndroidTaskScheduler
iOS → io.neuralheads.kmpworker.ios.IOSTaskScheduler
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract override fun registerWithContext(taskId: String, block: suspend TaskExecutionContext.() -> Unit)