Re-add persistence

This commit is contained in:
Philipp Heckel
2022-02-24 15:17:47 -05:00
parent fef46823eb
commit 0958c1d527
3 changed files with 24 additions and 18 deletions

View File

@@ -42,6 +42,10 @@ class Subscriptions {
return first;
}
size() {
return this.subscriptions.size;
}
clone() {
const c = new Subscriptions();
c.subscriptions = new Map(this.subscriptions);