* Called by the auto-attaching emitter every time it sees a non-empty * streamId pass through. Lets devtools track the latest stream id * without the chat client wiring it up explicitly.
(streamId: string)
| 766 | * without the chat client wiring it up explicitly. |
| 767 | */ |
| 768 | recordStreamId(streamId: string): void { |
| 769 | if (streamId) this.lastStreamId = streamId |
| 770 | } |
| 771 | |
| 772 | mountWithTools(initialMessageCount: number): void { |
| 773 | this.events.clientCreated(initialMessageCount) |