rpc-stream
factory using transport-electron
.
yarn add @erebos/rpc-electron
import electronRPC from '@erebos/rpc-electron'
const rpc = electronRPC('optional-channel-name')
rpc.request('getUser', ['1234']).then(console.log)
Arguments
channel?: ?string
, defaults torpc-message
Returns StreamRPC
MIT