Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ layerNet
Function
layerNet
packages/platform-node-shared/src/NodeSocket.ts:221–222 ·
view source on GitHub ↗
(options: Net.NetConnectOpts)
Source
from the content-addressed store, hash-verified
219
* @category layers
220
*/
221
export
const
layerNet = (options: Net.NetConnectOpts): Layer.Layer<Socket.Socket, Socket.SocketError> =>
222
Layer.effect(Socket.Socket, makeNet(options))
Callers
nothing calls this directly
Calls
1
makeNet
Function · 0.85
Tested by
no test coverage detected