MCPcopy Index your code
hub / github.com/aspen-cloud/triplit / onOpenHandler

Method onOpenHandler

packages/client/src/sync-engine.ts:985–992  ·  view source on GitHub ↗
(session: SyncSession)

Source from the content-addressed store, hash-verified

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) => {

Callers 1

createConnectionMethod · 0.95

Calls 3

resetReconnectTimeoutMethod · 0.95
infoMethod · 0.45

Tested by

no test coverage detected