@erebos/transport-electron
v0.11.0
Published
Electron transport
Downloads
10
Keywords
Readme
transport-electron
Electron IPC transport as a RxJS Subject
.
Installation
yarn add @erebos/transport-electron
Usage
import electronTransport from '@erebos/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