RpcHost.d.ts 212 Bytes Raw Blame History Permalink 1 2 3 4 5 6 declare type RpcDispatcher = <TMessage>(message: TMessage) => Promise<void>; interface RpcHost { dispatch: RpcDispatcher; register: (dispatch: RpcDispatcher) => void; } export { RpcHost, RpcDispatcher };