Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lvce-editor/ipc

Inter Process Communication for Lvce Editor
https://github.com/lvce-editor/ipc

ipc lvce-editor

Last synced: 3 days ago
JSON representation

Inter Process Communication for Lvce Editor

Awesome Lists containing this project

README

        

# Lvce Editor Ipc

Inter Process Communiction for use in Lvce Editor.

### Usage

```js
import { IpcParentWithElectronUtilityProcess } from '@lvce-editor/ipc'

const rawIpc = await IpcParentWithElectronUtilityProcess.create({
path: '/test/utility-process.js',
})

const ipc = IpcParentWithElectronUtilityProcess.wrap(rawIpc)

ipc.send({
jsonrpc: '2.0',
method: 'readFile',
params: ['/test/file.txt'],
})
```