Package org.eclipse.lsp4j.jsonrpc
Interface CancelChecker
-
- All Known Implementing Classes:
CompletableFutures.FutureCancelChecker
public interface CancelCheckerUsed for processing requests with cancellation support.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcheckCanceled()Throw aCancellationExceptionif the currently processed request has been canceled.default booleanisCanceled()Check for cancellation without throwing an exception.
-