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

Function pauseWebSocket

packages/effect/src/socket/Socket.ts:1011–1015  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1009 | undefined
1010
1011 function pauseWebSocket() {
1012 if (!pausable || paused) return
1013 ws.pause()
1014 paused = true
1015 }
1016
1017 function resumeWebSocket() {
1018 if (!pausable || !paused) return

Callers 1

pushFunction · 0.85

Calls 1

pauseMethod · 0.65

Tested by

no test coverage detected