Replace event-emitter with eventEmitter3

This commit is contained in:
2026-07-29 11:50:50 +00:00
parent 011b0391a5
commit ba495065de
6 changed files with 10 additions and 708 deletions

View File

@@ -1,8 +1,9 @@
import type { SSESessionOptions, SSESessionEventMap, SSEvent } from './types.ts';
import { EventEmitter } from 'eventemitter3'
import { HTTPError, ResponseBodyNullError } from '../errors.ts';
import { tryAsync } from '../misc.ts';
import { EventEmitter } from '../event-emitter.ts';
import { ExponentialBackoff } from '../exponential-backoff.ts';
import { SSEEventParser } from './sse-event-parser.ts';