fchain

0.0.6 • Public • Published
npm install -g fchain

or

yarn global add fchain

use example

import {ipcRenderer} from 'electron'
ipcRenderer.invoke("app.quit", [args1, args2])

=>

import {ipcRenderer} from 'electron'
import invoke from 'fchain/invoke'
ipc = invoke(ipcRenderer,ipcRenderer.invoke)

ipc.app.quit(args1, args2)
import {ipcMain} from 'electron'
import handle from 'fchain/handle'
ipc = handle(ipcMain,ipcMain.handle)

ipc.app.quit (args1, args2)->
  console.log @ # event
  console.log args1, args2
import ipc from 'fchain/ipc_handle'
import ipc from 'fchain/ipc_invoke'

Readme

Keywords

none

Package Sidebar

Install

npm i fchain

Weekly Downloads

0

Version

0.0.6

License

MulanPSL-2.0

Unpacked Size

11.6 kB

Total Files

7

Last publish

Collaborators

  • gcxfd