We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example:
class Test { constructor() {
} aaa() { return 11111 }
}
const test = new Test()
var numThreads= 10; var threadPool= require('threads_a_gogo').createPool(numThreads).all.eval(test.aa);
threadPool.all.eval('test.aa()', function cb (err, data) { process.stdout.write(" ["+ this.id+ "]"+ data); this.eval('test.aa()', cb); });
didn't support?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
example:
class Test {
constructor() {
}
const test = new Test()
var numThreads= 10;
var threadPool= require('threads_a_gogo').createPool(numThreads).all.eval(test.aa);
threadPool.all.eval('test.aa()', function cb (err, data) {
process.stdout.write(" ["+ this.id+ "]"+ data);
this.eval('test.aa()', cb);
});
didn't support?
The text was updated successfully, but these errors were encountered: