Bomb

class Bomb(val timerNanos: Long, val func: () -> Unit) : Clock.Executor

An executor that will execute a function after a certain amount of time.

Since

1.5.0

Constructors

Link copied to clipboard
constructor(timerNanos: Long, func: () -> Unit)

Properties

Link copied to clipboard
val func: () -> Unit
Link copied to clipboard

Functions

Link copied to clipboard
fun refuse()

Re-fuse the bomb, resetting the timer.

Link copied to clipboard
open override fun tick(deltaTimeNanos: Long): Long

Update this Executor.