Split router out into its own library

This commit is contained in:
Jon Staab
2025-04-23 13:34:04 -07:00
parent 489a307a47
commit 2996e25359
42 changed files with 604 additions and 295 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export class Repository<E extends HashedEvent = TrustedEvent> extends Emitter {
eventsByKind = new Map<number, E[]>()
deletes = new Map<string, number>()
static getSingleton() {
static get() {
if (!repositorySingleton) {
repositorySingleton = new Repository()
}