Add custom emitter and wrapper target

This commit is contained in:
Jonathan Staab
2023-09-14 13:07:01 -07:00
parent 3b9b6f9dc0
commit 47ddbf6498
10 changed files with 57 additions and 13 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import {Connection} from "./Connection"
import {EventEmitter} from 'events'
import {Emitter} from './util/Emitter'
export class Pool extends EventEmitter {
export class Pool extends Emitter {
data: Map<string, Connection>
constructor() {
super()