Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

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

Returns Rx.Subject<Object>

License

MIT