AutoTimeController

Provides a class for controlling 'auto' functionality.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun wait(timeInMs: Long, cancellationToken: CancellationToken): Boolean

Wait for a specified timeInMs. A cancellationToken must be provided to support cancellation. Returns true if the wait completed without being cancelled, else false.