Replace event-emitter with eventEmitter3
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user