()
| 394 | }; |
| 395 | } |
| 396 | |
| 397 | /** |
| 398 | * Registers a handler that fires when the connection state may be stale: |
| 399 | * on every reconnect and on every detected sequence-number gap in server |
| 400 | * events. Consumers use this to refetch or invalidate caches that may |
| 401 | * have missed events while the socket was disconnected or out of sync. |
| 402 | * |
| 403 | * Returns an unsubscribe function. Calling it removes the handler. |
| 404 | */ |
no outgoing calls
no test coverage detected