Timeout

Run after a given time with controls.

# API

# TimeoutConfig

Property Description Default
immediate?
boolean
Whether to start the timer immediately.
true
autoStop?
boolean
Whether to cancel timer when hosting component is destroyed.
true

# TimeoutReturn

Property Description
isPending
Readable<boolean>
Indicate whether is timer is running.
stop
VoidFunction
Stop the timer.
start
VoidFunction
Start the timer.
delay
Writable<number>
The controlled delay of the timer.