-
Notifications
You must be signed in to change notification settings - Fork 182
Job Manager
Jade Meskill edited this page Mar 31, 2016
·
2 revisions
Job Manager makes it easy for node.js applications to submit jobs to Meshblu Core. Job Manager will assign a responseId
, submit the job to Redis, block until the response has been generated by Meshblu Core and call the callback with the response.
options =
metadata:
jobType: 'GetStatus'
@jobManager.do 'request', 'response', options, (error, jobResponse) =>
res.status(jobResponse.metadata.code).send(JSON.parse jobResponse.rawData)
See octoblu/meshblu-core-job-manager for the current implementation.