MCPcopy Index your code
hub / github.com/simstudioai/sim / onRedisReconnect

Function onRedisReconnect

apps/sim/lib/core/config/redis.ts:84–86  ·  view source on GitHub ↗
(cb: () => void)

Source from the content-addressed store, hash-verified

82 * Useful for resetting cached adapters that hold a stale Redis reference.
83 */
84export function onRedisReconnect(cb: () => void): void {
85 state.reconnectListeners.push(cb)
86}
87
88function startPingHealthCheck(redis: Redis): void {
89 if (state.pingInterval) return

Callers 2

createStorageAdapterFunction · 0.90
redis.test.tsFile · 0.90

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected