UNPKG

@jsonjoy.com/reactive-rpc

Version:

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

2 lines (1 loc) 112 B
export declare const of: <T, E = any>(promise: Promise<T>) => Promise<[T | undefined, E | undefined, boolean]>;