(session: SyncSession)
| 983 | } |
| 984 | |
| 985 | private onOpenHandler(session: SyncSession) { |
| 986 | return () => { |
| 987 | session.status = 'OPEN'; |
| 988 | this.fireConnectionChangeHandlers(session); |
| 989 | this.resetReconnectTimeout(); |
| 990 | this.logger.info('sync connection has opened'); |
| 991 | }; |
| 992 | } |
| 993 | |
| 994 | private onCloseHandler(session: SyncSession) { |
| 995 | return (evt: any) => { |
no test coverage detected