Move router into app, and out of util

This commit is contained in:
Jon Staab
2024-09-03 13:31:13 -07:00
parent 7b2233f8db
commit 6ee79eb219
12 changed files with 456 additions and 136 deletions
+6
View File
@@ -3,6 +3,12 @@ import {Emitter} from '@welshman/lib'
export class Tracker extends Emitter {
data = new Map<string, Set<string>>()
constructor() {
super()
this.setMaxListeners(100)
}
getRelays = (eventId: string) => {
const relays = new Set<string>()