-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
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
Feature (PR welcome): Use functions for a job #6
Comments
PR is welcome, but I strongly encourage you to write your jobs so they are independent and sandboxed. |
I'm re-opening this in the hope that we can get a PR open soon for this! |
Albeit this approach would not use workers, I think we may still want to have it supported out of the box. |
@niftylettuce Has this changed? i.e. As I understand the docs#using-functions-for-jobs, the function will be executed in a separate worker thread, right? |
As I understood the docs the only way to define a job is to have a .js file.
Is it possible or planned in the future, that we can simply pass a function for each job?
Our use-case: we use ncc to compile our node app to a single javascript file, so we cannot have separate .js files for jobs
The text was updated successfully, but these errors were encountered: