- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for scheduledTasks (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
} log += "scheduledTasks=${redQueue.scheduledTasks}" return -1L } } redQueue.schedule(task, 100.µs) redQueue.execute("task two", 200.µs) { log += "scheduledTasks=${redQueue.scheduledTasks}" } taskFaker.advanceUntil(100.µs) assertThat(log).containsExactly( "scheduledTasks=[task two, task one]", )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 23K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
/** * Returns a snapshot of tasks currently scheduled for execution. Does not include the * currently-executing task unless it is also scheduled for future execution. */ val scheduledTasks: List<Task> get() = taskRunner.withLock { futureTasks.toList() } /** * Schedules [task] for execution in [delayNanos]. A task may only have one future execution
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 7.3K bytes - Click Count (0)