Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for scheduledTasksDoesNotIncludeRunningTask (0.18 sec)

  1. okhttp/src/test/java/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()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top