Skip to content

Commit

Permalink
remove old commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson authored Feb 8, 2024
1 parent b31ff44 commit 2faa633
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/http-client/http-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<StreamEvent>`?
// start: () => void;

// /**
// * Close the stream.
// */
// close: () => void;
// }

export interface StreamAdapter {
read: AsyncGenerator<string>;
close: () => void;
Expand Down

0 comments on commit 2faa633

Please sign in to comment.