github Effect-TS/effect @effect/experimental@0.16.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
    );

Patch Changes

  • Updated dependencies [d57fbbb]:
    • @effect/platform-node@0.49.0
    • @effect/platform@0.53.0

Don't miss a new effect release

NewReleases is sending notifications on new releases.