(ownerKey: string)
| 475 | } |
| 476 | |
| 477 | function addOwnerToRing(ownerKey: string) { |
| 478 | if (queuedOwnerRing.includes(ownerKey)) return |
| 479 | queuedOwnerRing.push(ownerKey) |
| 480 | } |
| 481 | |
| 482 | function removeOwnerFromRing(ownerKey: string) { |
| 483 | const idx = queuedOwnerRing.indexOf(ownerKey) |
no test coverage detected