MCPcopy Create free account
hub / github.com/BoltsFramework/Bolts-Java / isCompleted

Method isCompleted

Bolts/src/bolts/Task.java:112–116  ·  view source on GitHub ↗

@return true if the task completed (has a result, an error, or was cancelled. false otherwise.

()

Source from the content-addressed store, hash-verified

110 * {@code false} otherwise.
111 */
112 public boolean isCompleted() {
113 synchronized (lock) {
114 return complete;
115 }
116 }
117
118 /**
119 * @return {@code true} if the task was cancelled, {@code false} otherwise.

Callers 11

waitForCompletionMethod · 0.95
continueWithMethod · 0.95
continueWithTaskMethod · 0.95
testPrimitivesMethod · 0.80
thenMethod · 0.80
testOnSuccessMethod · 0.80
testOnSuccessTaskMethod · 0.80

Calls

no outgoing calls

Tested by 8

testPrimitivesMethod · 0.64
thenMethod · 0.64
testOnSuccessMethod · 0.64
testOnSuccessTaskMethod · 0.64