AVM Worker implementation for nodejs
AVM Worker is the abstraction over Aqua virtual machine (AVM) interpreter designed to allow run it in different contexts such as web workers in browsers or worker threads on nodejs.
The package provides implementation for nodejs based on worker threads.
Usage
To use BackgroundWorker
with Fluence JS refer to the official documentation
Building
First you need to build the worker script:
./build_worker.sh
Then build the npm package:
npm install
npm run build
Running test
Tests are located in the same package. To run tests:
npm run test