Class InstallationConfirmationContext
java.lang.Object
com.github.copilot.rpc.InstallationConfirmationContext
Cancellation signal for one installation confirmation request.
This signal retires the human review. It does not cancel outbound installation or OAuth RPCs.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionInstallationConfirmationContext(CompletableFuture<Void> cancelled) Creates an installation confirmation context. -
Method Summary
Modifier and TypeMethodDescriptionGets the cancellation signal for this review.
-
Constructor Details
-
InstallationConfirmationContext
Creates an installation confirmation context.- Parameters:
cancelled- completed when the runtime cancels this review or the original connection closes
-
-
Method Details
-
getCancelled
Gets the cancellation signal for this review.This future completes when the runtime retires this review request, including through JSON-RPC
$/cancelRequest, runtime-enforced expiry, or loss of the original connection.Completing the returned future does not affect SDK state.
- Returns:
- the cancellation signal
-