introduce onsessioninitialized to avoid race conditions

This commit is contained in:
ihrpr 2025-04-16 11:09:47 +01:00
commit 585dc06708
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
import { Transport } from "../shared/transport.js";
import { isInitializedNotification, isJSONRPCNotification, isJSONRPCRequest, isJSONRPCResponse, JSONRPCMessage, JSONRPCMessageSchema } from "../types.js";
import { isInitializedNotification, isJSONRPCRequest, isJSONRPCResponse, JSONRPCMessage, JSONRPCMessageSchema } from "../types.js";
import { auth, AuthResult, OAuthClientProvider, UnauthorizedError } from "./auth.js";
import { EventSourceParserStream } from "eventsource-parser/stream";