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
// worker.js const add = (a, b) => { return a + b } export const testfun = (a, b) => { return add(a, b) }
import { testfun } from './worker.js'; const r = await this..$worker.run(testfun, [1,2]);
I get this:
Uncaught ReferenceError: add is not defined
The text was updated successfully, but these errors were encountered:
I have the same problem with you, have you solved this problem?
Sorry, something went wrong.
// worker.js const add = (a, b) => { return a + b } export const testfun = (a, b) => { return add(a, b) } import { testfun } from './worker.js'; const r = await this..$worker.run(testfun, [1,2]); I get this: Uncaught ReferenceError: add is not defined
have you checked without add() that is also not working ?
add()
export const testfun = (a, b) => { return (a+b); }
No branches or pull requests
I get this:
The text was updated successfully, but these errors were encountered: