ModelScheduler

interface ModelScheduler

A scheduler of BetterModel

Functions

Link copied to clipboard
@NotNull
abstract fun asyncTask(@NotNull runnable: Runnable): ModelTask
Runs async task
Link copied to clipboard
@NotNull
abstract fun asyncTaskLater(delay: Long, @NotNull runnable: Runnable): ModelTask
Runs async task
Link copied to clipboard
@NotNull
abstract fun asyncTaskTimer(delay: Long, period: Long, @NotNull runnable: Runnable): ModelTask
Runs async task
Link copied to clipboard
@NotNull
abstract fun task(@NotNull location: Location, @NotNull runnable: Runnable): ModelTask
Runs sync task
Link copied to clipboard
@NotNull
abstract fun taskLater(delay: Long, @NotNull location: Location, @NotNull runnable: Runnable): ModelTask
Runs sync task