(payload: any)
| 49 | |
| 50 | function onDisconnect() { |
| 51 | status.value = 'CLOSED'; |
| 52 | let cb = toValue(_options.value).onDisconnect; |
| 53 | cb?.(); |
| 54 | } |
| 55 | |
| 56 | function onError(err: Error) { |
| 57 | error.value = err?.message ?? 'Unkown Error'; |
| 58 | status.value = 'CLOSED'; |
nothing calls this directly
no outgoing calls
no test coverage detected