RunnableScheduler
interface RunnableScheduler
Can be used to schedule Runnables after a delay in milliseconds. This is used by the in-process scheduler to schedule timed work.
Summary
Public functions |
|
|---|---|
Unit |
Cancels the |
Unit |
scheduleWithDelay(Schedules a |
Public functions
cancel
Added in 2.4.0
fun cancel(runnable: Runnable): Unit
Cancels the Runnable which was previously scheduled using scheduleWithDelay.