This repository was archived by the owner on Jun 17, 2020. It is now read-only.
This repository was archived by the owner on Jun 17, 2020. It is now read-only.
Returning a Promise from 'executeMainProcessMethod' #29
Open

Description
In execute-js-func.js initializeEvalHandler
uses a function executeMainProcessMethod
which is not prepared to handle Promises. This causes issues when paired with createProxyForMainProcessModule
and working with Promises. There is another method, evalRemoteMethod
, which is prepared to handle Promises. Could both cases (calling a renderer and calling the main process) be made to work with Promises?
Metadata
Metadata
Assignees
Labels
No labels