Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isPausable
Function
isPausable
packages/effect/src/socket/Socket.ts:929–930 ·
view source on GitHub ↗
(ws: WebSocketLike)
Source
from the content-addressed store, hash-verified
927
}
928
929
const
isPausable = (ws: WebSocketLike): ws is WebSocketLike & Pausable =>
930
"pause"
in ws && typeof (ws as any).pause ===
"function"
931
932
/**
933
* Builds a `Socket` from a scoped WebSocket acquisition effect.
Callers
1
fromWebSocket
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected