MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / registerConfirmationHandler

Function registerConfirmationHandler

src/utils/confirmation.ts:14–16  ·  view source on GitHub ↗
(handler: ConfirmationHandler | null)

Source from the content-addressed store, hash-verified

12let confirmationHandler: ConfirmationHandler | null = null;
13
14export function registerConfirmationHandler(handler: ConfirmationHandler | null): void {
15 confirmationHandler = handler;
16}
17
18export function requestConfirmation(request: ConfirmationRequest): Promise<boolean> {
19 if (confirmationHandler) {

Callers 2

ConfirmationHostFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected