Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.misc/Scheduler

Scheduler

interface Scheduler

A queue to submit tasks to for asynchronous execution.

Types

Companion
Link copied to clipboard
object Companion

Functions

execute
Link copied to clipboard
abstract fun execute(runnable: Runnable)

Schedules a Runnable for execution at some point in the future. Tasks will typically be executed on a first-in-first-out manner, but this depends on the Scheduler implementation.

schedule
Link copied to clipboard
abstract fun schedule(runnable: Runnable): Disposable

Schedules a Runnable for execution at some point in the future. Tasks will typically be executed on a first-in-first-out manner, but this depends on the Scheduler implementation.

abstract fun schedule(delay: TimeFrame, runnable: Runnable): Disposable

Schedules a Runnable for execution at some point in the future, but delayed by the provided delay. Tasks will not be executed before this delay.

Generated by Dokka
(c) Tealium 2026