1.0.7 • Published 6 years ago

zyspawn v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Zyspawn project for PrairieLearn

The purpose of this library is to accelerate script execution for question generation in PrairieLearn.

Example Use

Python Script

# simple.py
def add(a, b):
    return a + b

Javascript

var zyPool = new ZygotePool(5, (err)=>{
    var zyInt = zyPool.request();
    zyInt.call("simple", "add", [1,2], {}, (err, output) => {
          // output.result == 3
          zyInt.done();
    });
});

Unit Tests

npm test

Note: If you find that lots of tests are failing to run, it may be usefull
to run tests in band mode. i.e:

npm test -- --runInBand
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago