Minor Changes
-
#2703
d57fbbb
Thanks @tim-smart! - replace isows with WebSocketConstructor service in @effect/platform/SocketYou now have to provide a WebSocketConstructor implementation to the
Socket.makeWebSocket
api.import * as Socket from "@effect/platform/Socket"; import * as NodeSocket from "@effect/platform-node/NodeSocket"; import { Effect } from "effect"; Socket.makeWebSocket("ws://localhost:8080").pipe( Effect.provide(NodeSocket.layerWebSocketConstructor), // use "ws" npm package );