public static class Executor.DefaultImpls
Manage async tasks.
| Modifier and Type | Method and Description |
|---|---|
static long |
setPeriodic(Executor $this,
java.time.Duration delay,
kotlin.jvm.functions.Function0<kotlin.Unit> runnable)
Execute a periodic task.
|
public static long setPeriodic(Executor $this, @NotNull java.time.Duration delay, @NotNull kotlin.jvm.functions.Function0<kotlin.Unit> runnable)
Execute a periodic task.
$this - the delay between each other calldelay - the task to runrunnable - the task to run