Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for scheduledTasksDoesNotIncludeRunningTask (0.14 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

      /**
       * We don't track the active task in scheduled tasks. This behavior might be a mistake, but it's
       * cumbersome to implement properly because the active task might be a cancel.
       */
      @Test fun scheduledTasksDoesNotIncludeRunningTask() {
        val task =
          object : Task("task one") {
            val schedules = mutableListOf(200.µs)
    
            override fun runOnce(): Long {
              if (schedules.isNotEmpty()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 23K bytes
    - Click Count (0)
Back to Top