github Effect-TS/effect @effect/rpc-http@0.26.2

latest releases: @effect/typeclass@0.24.40, @effect/printer@0.33.40, @effect/printer-ansi@0.33.40...
4 months ago

Patch Changes

  • #2092 b974658 Thanks @tim-smart! - add rpc Router.provideService and .provideServiceEffect

    with these apis you can provide context to a Rpc or Router to eliminate
    requirements.

    import { Rpc, Router } from "@effect/rpc"
    
    Router.make(
      Rpc.effect(MyRequest, () => ...)
    ).pipe(
      Router.provideServiceEffect(Session, makeSessionEffect)
    )
  • Updated dependencies [b974658, 29739dd, b974658, b974658]:

    • @effect/rpc@0.27.2
    • @effect/platform@0.44.2

Don't miss a new effect release

NewReleases is sending notifications on new releases.