@mainframe/rpc-electron
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

rpc-electron

rpc-stream factory using transport-electron.

Installation

yarn add @mainframe/rpc-electron

Usage

import electronRPC from '@mainframe/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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i @mainframe/rpc-electron

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

1.92 kB

Total Files

5

Last publish

Collaborators

  • aclarke
  • diogoperillo
  • howleysv
  • mosic
  • paul_lecam
  • sarahwiley