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

Method isCancelled

Bolts/src/bolts/Task.java:121–125  ·  view source on GitHub ↗

@return true if the task was cancelled, false otherwise.

()

Source from the content-addressed store, hash-verified

119 * @return {@code true} if the task was cancelled, {@code false} otherwise.
120 */
121 public boolean isCancelled() {
122 synchronized (lock) {
123 return cancelled;
124 }
125 }
126
127 /**
128 * @return {@code true} if the task has an error, {@code false} otherwise.

Callers 7

runTaskTestMethod · 0.80
testPrimitivesMethod · 0.80
thenMethod · 0.80
testOnSuccessMethod · 0.80
testOnSuccessTaskMethod · 0.80
thenMethod · 0.80

Calls

no outgoing calls

Tested by 6

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