github Effect-TS/effect @effect/platform@0.53.0

latest releases: @effect/typeclass@0.29.14, @effect/vitest@0.13.14, @effect/sql-sqlite-wasm@0.20.5...
6 months ago

Minor Changes

  • #2703 d57fbbb Thanks @tim-smart! - replace isows with WebSocketConstructor service in @effect/platform/Socket

    You 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
    );

Don't miss a new effect release

NewReleases is sending notifications on new releases.