effect-io-ai

Package: @effect/rpc
Module: Rpc

Rpc.fork

You can use fork to wrap a response Effect or Stream, to ensure that the response is executed concurrently regardless of the RpcServer concurrency setting.

Signature

declare const fork: <A extends object>(value: A) => A extends Wrapper<infer _> ? A : Wrapper<A>

Source

Since v1.0.0