Companion

object Companion

Properties

Functions

Link copied to clipboard
Link copied to clipboard
fun define(lifetime: Lifetime, atomicAction: (LifetimeDefinition, Lifetime) -> Unit): LifetimeDefinition
Link copied to clipboard

Creates an intersection of some lifetimes: new lifetime that terminate when either one terminates. Created lifetime inherits the smallest terminationTimeoutKind

Link copied to clipboard

Gets the actual value in milliseconds for termination timeout kind (short, long, etc).

Link copied to clipboard
fun intersect(vararg lifetimes: Lifetime): Lifetime
fun intersect(lifetime1: Lifetime, lifetime2: Lifetime): Lifetime

Creates an intersection of some lifetimes: new lifetime that terminate when either one terminates. Created lifetime inherits the smallest terminationTimeoutKind

Link copied to clipboard

Sets the actual value in milliseconds for termination timeout kind (short, long, etc).

Link copied to clipboard
inline fun <T> using(block: (Lifetime) -> T): T