0.2.0 • Published 4 years ago
@fluencelabs/avm-worker-node v0.2.0
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.shThen build the npm package:
npm install
npm run buildRunning test
Tests are located in the same package. To run tests:
npm run test