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

Function layer

packages/effect/src/unstable/devtools/DevTools.ts:65–68  ·  view source on GitHub ↗
(url = "ws://localhost:34437")

Source from the content-addressed store, hash-verified

63 * @since 4.0.0
64 */
65export const layer = (url = "ws://localhost:34437"): Layer.Layer<never> =>
66 layerWebSocket(url).pipe(
67 Layer.provide(Socket.layerWebSocketConstructorGlobal)
68 )

Callers

nothing calls this directly

Calls 3

layerWebSocketFunction · 0.70
pipeMethod · 0.65
provideMethod · 0.45

Tested by

no test coverage detected