Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for executeRepeatedEarlierReplacesScheduledLater (0.22 sec)

  1. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 finished run in   0 µs: task",
        )
      }
    
      /** Schedule with a delay of 200 but repeat with a delay of 50. The repeat wins. */
      @Test fun executeRepeatedEarlierReplacesScheduledLater() {
        val task =
          object : Task("task") {
            val schedules = mutableListOf(200.µs)
            val delays = mutableListOf(50.µs, -1L)
    
            override fun runOnce(): Long {
    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