Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for boolean (0.15 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          yieldUntil()
        }
      }
    
      /** Process the queue until [condition] returns true. */
      private tailrec fun yieldUntil(
        strategy: ResumePriority = ResumePriority.AfterEnqueuedTasks,
        condition: () -> Boolean = { true },
      ) {
        taskRunner.assertThreadHoldsLock()
        val self = currentTask
    
        val yieldCompleteTask =
          object : SerialTask {
            override fun isReady() = condition()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
Back to top