Nexus with background queue worker like bull #1346
Unanswered
jmason9307
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to have a background worker that I bundle with my app and runs separately from
node .nexus/buildbut that also has access to all the libraries built with mynexusapp.Is there a way to have a
worker.tsor similar file in the project root, that builds with my nexus app but isn't included in theindex.jsoutput directory? I'd like it to all build together but then be able to be run separately.I'm trying to have a background queue with Bull that I add jobs to within my Nexus app and then process the queue with a background worker, all while still having access to all the same helpers and context as my Nexus app and building with the
nexus buildcommand.Beta Was this translation helpful? Give feedback.
All reactions