Package-level declarations

Types

Link copied to clipboard
sealed external interface Interval
Link copied to clipboard
sealed external interface Timeout
Link copied to clipboard
typealias TimerHandler = () -> Unit

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
external fun setInterval(handler: TimerHandler, timeout: Int = definedExternally): Interval
fun setInterval(timeout: Duration, handler: TimerHandler): Interval
Link copied to clipboard
external fun setTimeout(handler: TimerHandler, timeout: Int = definedExternally): Timeout
fun setTimeout(timeout: Duration, handler: TimerHandler): Timeout