Add relay package

This commit is contained in:
Jon Staab
2025-03-31 10:16:28 -07:00
parent 5245993d4e
commit cfd2e3aac7
21 changed files with 234 additions and 106 deletions
+1 -2
View File
@@ -1,10 +1,9 @@
import {throttle} from "@welshman/lib"
import {Repository, Relay} from "@welshman/util"
import type {TrustedEvent} from "@welshman/util"
import {Tracker} from "@welshman/net"
import {custom} from "@welshman/store"
export const repository = new Repository<TrustedEvent>()
export const repository = Repository.getSingleton()
export const relay = new Relay(repository)