Give the gate, the window and the pending map one owner

This commit is contained in:
2026-09-01 16:52:15 +02:00
parent 3bcea108e3
commit 8becbc0ab6
12 changed files with 276 additions and 168 deletions
+5
View File
@@ -10,6 +10,11 @@ export class HeldMessages {
this.held.add(pduObjs);
}
/** Whether a drain is still waiting for this message to be answered. */
has(pduObjs: PduObject[]): boolean {
return this.held.has(pduObjs);
}
release(pduObjs: PduObject[]): void {
if (!this.held.delete(pduObjs)) return;