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

0.2.1 • Public • Published

transport-electron

Electron IPC transport as a RxJS Subject.

Installation

yarn add @mainframe/transport-electron

Usage

import electronTransport from '@mainframe/transport-electron'

const transport = electronTransport('optional-channel-name')

transport.subcribe(console.log)
transport.next({ hello: 'transport' })

API

electronTransport()

Arguments

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

Returns Rx.Subject<Object>

License

MIT

Versions

Current Tags

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

Version History

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

Package Sidebar

Install

npm i @mainframe/transport-electron

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

3.35 kB

Total Files

5

Last publish

Collaborators

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