@mainframe/transport-electron
v0.2.1
Published
Electron transport
Downloads
6
Keywords
Readme
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
channel?: ?string
, defaults torpc-message
Returns Rx.Subject<Object>
License
MIT