diff --git a/src/http-client/http-client.ts b/src/http-client/http-client.ts index f8e1533f..74d9281b 100644 --- a/src/http-client/http-client.ts +++ b/src/http-client/http-client.ts @@ -82,27 +82,6 @@ export type HTTPStreamRequest = { method: "POST"; }; -// export interface Stream { -// /** -// * Register an event handler to execute for each event with specified type. -// * @param type - The event type to listen to {@link StreamEventType} -// * @param callback - The event handler to call each time an event is emitted -// * @returns -// */ -// on: (type: StreamEventType, callback: StreamEventHandler) => Stream; - -// /** -// * Start the stream. -// */ -// // TODO: return `AsyncGenerator`? -// start: () => void; - -// /** -// * Close the stream. -// */ -// close: () => void; -// } - export interface StreamAdapter { read: AsyncGenerator; close: () => void;