Make offer() the only way to hold a message
Mirror / push (push) Successful in 7s
Test / lint (pull_request) Successful in 22s
Test / test (18) (pull_request) Successful in 32s
Test / test (20) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 33s
Test / test (26) (pull_request) Successful in 32s

This commit is contained in:
2026-09-28 10:52:36 +02:00
parent 245d0e2740
commit 9df7f05669
+1 -1
View File
@@ -97,7 +97,7 @@ export class HeldMessages {
return this.held.full || this.held.weight >= this.maxOctets;
}
hold(pduObjs: PduObject[], listeners: number): MessageHold {
private hold(pduObjs: PduObject[], listeners: number): MessageHold {
const hold = new MessageHold({
isHeld: () => this.has(pduObjs),
release: () => { this.release(pduObjs); },