Companion

expect object Companion
actual object Companion
actual object Companion

Properties

Link copied to clipboard
expect val NONE: Timeout

An empty timeout that neither tracks nor detects timeouts. Use this when timeouts aren't necessary, such as in implementations whose operations do not block.

actual val NONE: Timeout
actual val NONE: Timeout

Functions

Link copied to clipboard
fun minTimeout(aNanos: Long, bNanos: Long): Long
Link copied to clipboard
fun Timeout.timeout(timeout: Long, unit: DurationUnit): Timeout