taskdef-settings.js
function describeMessage(message, batch, context) {
  const b = batch || context.batch;
  const state = b && b.states.get(message);
  return message ? `Message (${state && state.msgDesc})` : '';
}
function describeMessage(message, batch, context) {
  const b = batch || context.batch;
  const state = b && b.states.get(message);
  return message ? `Message (${state && state.msgDesc})` : '';
}
function describeMessage ( message , batch , context ) { const b = batch || context . batch ; const state = b && b . states . get ( message ) ; return message ? ` ${ state && state . msgDesc } ` : '' ; }
A `describeItem` implementation that accepts and describes the arguments passed to a "process one message at a time" function.
@param {Message} message - the message being processed
@param {Batch} batch - the current batch
@param {StreamConsumerContext} context - the context to use
@returns {string} a short description of the message
A describeItem implementation that accepts and describes the arguments passed to a process one message at a time function .