开发者社区> 镜像站> NPM> @erebos/rpc-electron
@erebos/rpc-electron
Electron RPC client
Last updated a year ago by paul_lecam .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @erebos/rpc-electron 
SYNC missed versions from official npm registry.

rpc-electron

rpc-stream factory using transport-electron.

Installation

yarn add @erebos/rpc-electron

Usage

import electronRPC from '@erebos/rpc-electron'

const rpc = electronRPC('optional-channel-name')

rpc.request('getUser', ['1234']).then(console.log)

API

electronRPC()

Arguments

  1. channel?: ?string, defaults to rpc-message

Returns StreamRPC

License

MIT

Current Tags

  • 0.11.0                                ...           latest (a year ago)

2 Versions

  • 0.11.0                                ...           a year ago
  • 0.10.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None