WaitDeadlines

Where a WaitCoordinator ends its waits at their deadlines, apart from their waiters: the half of its dependency on time that its clock does not cover. SHARDED, the runtime's deadline threads, unless a test holds the deadlines to pass them itself.

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun schedule(delayMillis: Long, task: Runnable): Future<*>

Runs task delayMillis from now, on none of the caller's threads; cancelling the future unschedules it.