Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lvce-editor/ipc
- Owner: lvce-editor
- License: mit
- Created: 2024-01-29T21:26:47.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T20:20:12.000Z (2 months ago)
- Last Synced: 2024-10-30T07:22:07.740Z (16 days ago)
- Topics: ipc, lvce-editor
- Language: TypeScript
- Homepage:
- Size: 411 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'],
})
```