GearmaNode icon indicating copy to clipboard operation
GearmaNode copied to clipboard

Job event `status` is not triggered

Open defra91 opened this issue 8 years ago • 2 comments

I am trying to use the following:

var job = client.submitJob('functionName', payload);

job.on('status', function(status) {
  console.log('STATUS', status);
});

But it never enter in the callback and so never prints 'STATUS'.

defra91 avatar Apr 28 '16 14:04 defra91

you can see all the triggers for that event here: https://github.com/veny/GearmaNode#job-events

did you use your code in one of those contexts?

veny avatar Apr 28 '16 16:04 veny

Yes I added the listener for different events, as specified in the documentation. However status event is never triggered.

defra91 avatar May 09 '16 06:05 defra91