electron-cgi
electron-cgi copied to clipboard
A library to connect NodeJs application with executables from other languages
`inputStreamParser.onRequest(request => { const requestType = request.type; requestHandlersQueue.filter(rh => rh.type === requestType).forEach(handlerContainer => { const requestHandler = handlerContainer.onRequest; const resultArgs = requestHandler(request.args) sendResponse(request.id, resultArgs); }); });` What if `requestHandlersQueue.filter` returns...
There should be a way to remove any listener that we add to the connection. Because, sometimes we want to remove the listener as well or change the listener for...
when I await the data I want to send to Electron Js I get error ```One or more errors occurred. (Serialisation failed for: { Type = RESPONSE, Response = ElectronCgi.DotNet.Response`1[System.Threading.Tasks.Task`1[System.String]]...
Hi, I am using Tauri to build a desktop app (+angular), the backend is .net framework. I would want to use electron-cgi to communicate between the frontend and backend. Tauri...
Provide a way to start the connection from .Net file to Node/electron file. My use case is opening Electron app on Excel Add in's button click