MCPcopy Index your code
hub / github.com/BoltsFramework/Bolts-Java / continueWhile

Method continueWhile

Bolts/src/bolts/Task.java:306–309  ·  view source on GitHub ↗

Continues a task with the equivalent of a Task-based while loop, where the body of the loop is a task continuation.

(Callable<Boolean> predicate,
      Continuation<Void, Task<Void>> continuation)

Source from the content-addressed store, hash-verified

304 * a task continuation.
305 */
306 public Task<Void> continueWhile(Callable<Boolean> predicate,
307 Continuation<Void, Task<Void>> continuation) {
308 return continueWhile(predicate, continuation, immediateExecutor);
309 }
310
311 /**
312 * Continues a task with the equivalent of a Task-based while loop, where the body of the loop is

Callers 1

callMethod · 0.80

Calls 4

setMethod · 0.95
makeVoidMethod · 0.95
getMethod · 0.95
continueWithTaskMethod · 0.80

Tested by 1

callMethod · 0.64