* High-water mark of sequence numbers seen on this stream. Callers that * recreate the transport (e.g. replBridge onWorkReceived) read this before * close() and pass it as `initialSequenceNum` to the next instance so the * server resumes from the right point instead of replaying everything.
()
| 225 | * server resumes from the right point instead of replaying everything. |
| 226 | */ |
| 227 | getLastSequenceNum(): number { |
| 228 | return this.lastSequenceNum |
| 229 | } |
| 230 | |
| 231 | async connect(): Promise<void> { |
| 232 | if (this.state !== 'idle' && this.state !== 'reconnecting') { |
no outgoing calls
no test coverage detected