Assume that you need to get an operating system's environment variable. You can call the
HTTP request once you invoke the
getEnvar method. After that, the Neutralinojs server will execute the native
operation to fetch the given environment variable using a thread from its thread pool.
Once the Neutralinojs server finishes the task, it responds to the HTTP request with the environment variable's value.
Finally, the client library resolves a promise with the results received from the server.
Neutralinojs offers many native operations for you by using this communication mechanism for all modes.