* Detach from the client and clean up subscriptions.
()
| 218 | * Detach from the client and clean up subscriptions. |
| 219 | */ |
| 220 | detach(): void { |
| 221 | for (const unsub of this.unsubscribers) { |
| 222 | unsub() |
| 223 | } |
| 224 | this.unsubscribers = [] |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * Compute the delta (new content) for a streaming message. |