@jsonjoy.com/reactive-rpc
Version:
Reactive-RPC is a library for building reactive APIs over WebSocket, HTTP, and other RPCs.
16 lines (15 loc) • 547 B
TypeScript
import { PresenceService } from './PresenceService';
import { PubsubService } from './PubSubService';
import { BlocksServices, type BlocksServicesOpts } from './blocks/BlocksServices';
import type { Store } from './blocks/store/types';
export interface ServicesOpts {
store?: Store;
blocks?: BlocksServicesOpts;
}
export declare class Services {
readonly pubsub: PubsubService;
readonly presence: PresenceService;
readonly blocks: BlocksServices;
constructor({ store, blocks }?: ServicesOpts);
stop(): Promise<void>;
}