Assume that you need to get an environment variable value from the operating system. You can call the
getEnv method. After that, the Neutralinojs server will execute the native operation to fetch the given
Once the Neutralinojs server finishes the task, it sends a WebSocket message with the value of the environment variable.
Finally, the client library resolves a promise with the results received from the server.
The client library maintains a task pool to map the server messages to the matching request via an UUID string.
Neutralinojs offers many native operations for you by using this communication mechanism for all modes.