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
could support function* worker
const mqQueue = require('fastq')({ select, fork }, worker, 1); eventbus.on(configs.topic_tools_status + configs.factoryCode + '_' + configs.shopCode.toLocaleUpperCase(), (msg) => { if (msg.Type_Data == 101 || msg.Type_Data == 106) mqQueue.push(msg) }) function* worker(arg, cb) { let bbb = this.select((state) => { return state.tools3Test }); console.log(bbb) // yield put({ type: "consumerQueue", payload: { arg, cb } }) cb(null, arg) }
The text was updated successfully, but these errors were encountered:
I'm a bit lost on who will receive the data that is going to be yielded.
Sorry, something went wrong.
No branches or pull requests
could support function* worker
The text was updated successfully, but these errors were encountered: