(sender, signature)
| 248 | } |
| 249 | |
| 250 | acknowledgePrior (sender, signature) { |
| 251 | for (let i = 0; i < this.length; i++) { |
| 252 | const [a, b] = this[i] |
| 253 | delete this.m[a] |
| 254 | if (a === sender && b === signature) { |
| 255 | this.splice(0, i) |
| 256 | break |
| 257 | } |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | // Once we've acknowledged that the client has saw the messages we sent, |
| 262 | // we delete it from our map & pending list. However, the client may keep it in |
no outgoing calls
no test coverage detected