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
Using the async syntax when starting a process (and as consequence, when creating a new task too) is currently unsuported.
const pid = process.start<number, number>(async foo => foo * 2); process.call(pid.subject!, 10, Infinity);
throws ERROR ReferenceError: __async is not defined.
ERROR ReferenceError: __async is not defined
For now, a recommended workaround is
const pid = process.start(foo => { return new Promise(resolve => { resolve(foo * 2); }); }); process.call(pid.subject!, 10 Infinity);
The text was updated successfully, but these errors were encountered:
R0DR160HM
No branches or pull requests
Using the async syntax when starting a process (and as consequence, when creating a new task too) is currently unsuported.
throws
ERROR ReferenceError: __async is not defined
.For now, a recommended workaround is
The text was updated successfully, but these errors were encountered: