MCPcopy Create free account
hub / github.com/apache/groovy / cancel

Method cancel

src/main/java/groovy/concurrent/Awaitable.java:141–141  ·  view source on GitHub ↗

Attempts to cancel the computation. If the computation has not yet started or is still running, it will be cancelled with a CancellationException. @return true if the computation was successfully cancelled

()

Source from the content-addressed store, hash-verified

139 * @return {@code true} if the computation was successfully cancelled
140 */
141 boolean cancel();
142
143 /**
144 * Returns {@code true} if the computation was cancelled before completing normally.

Callers 15

cancelMethod · 0.65
cancelMethod · 0.65
stopMethod · 0.65
registerTimerMethod · 0.65
cancelMethod · 0.65
orTimeoutMethod · 0.65
completeOnTimeoutMethod · 0.65
cancelAllMethod · 0.65
launchChildMethod · 0.65
cancelAllLockedMethod · 0.65
withScopeTimeoutMethod · 0.65
onSubscribeMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected