MCPcopy Create free account
hub / github.com/Effect-TS/effect / onPong

Function onPong

packages/effect/src/unstable/rpc/RpcClient.ts:1175–1177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1173 latch.closeUnsafe()
1174 }
1175 const onPong = () => {
1176 recievedPong = true
1177 }
1178 yield* Effect.suspend((): Effect.Effect<void, E, R> => {
1179 if (!recievedPong) return latch.open
1180 recievedPong = false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected