UNPKG

@jsonjoy.com/reactive-rpc

Version:

Reactive-RPC is a library for building reactive APIs over WebSocket, HTTP, and other RPCs.

3 lines (2 loc) 166 B
import { type Observable } from 'rxjs'; export declare const shareByKey: <TValue>(sub: (key: string) => Observable<TValue>) => ((key: string) => Observable<TValue>);