node-ironio icon indicating copy to clipboard operation
node-ironio copied to clipboard

introduced noop in message callbacks.

Open mkuklis opened this issue 10 years ago • 4 comments

This is just a cosmetic change so the callback in message could be avoided:

// Get a message
q.get(function(err, message) {
  // do something with the message
  // then delete it
  message.del();

  // need more time?
  // touch the message
  message.touch();

  // can't process the message
  // release the message
  message.release();
});


mkuklis avatar Feb 12 '14 04:02 mkuklis