(sub: Sub, state: SubState, txId: number)
| 528 | } |
| 529 | |
| 530 | private sendResync(sub: Sub, state: SubState, txId: number) { |
| 531 | // Make sure we can find the hash from the subscriptionId |
| 532 | this.idToHash[state.subscriptionId] = sub.hash; |
| 533 | this.trySend(state.subscriptionId, { |
| 534 | op: 'resync-table', |
| 535 | 'subscription-id': state.subscriptionId, |
| 536 | 'tx-id': txId, |
| 537 | token: state.token, |
| 538 | }); |
| 539 | } |
| 540 | |
| 541 | private sendRemove(state: SubState, keepSubscription: boolean) { |
| 542 | this.trySend(uuid(), { |