code: function worker(message) {
      console.log(`Processing "${message.message.data}"...`);
  
      setTimeout(() => {
        console.log(`Finished procesing "${message.message.data}".`);
        isProcessed = true;
      }, 30000);
    }
docs: The worker function is meant to be non-blocking. It starts a long- running process, such as writing the message to a table, which may take longer than the default 10-sec acknowledge deadline.