code: def emitMany(*args, **kwargs):
      
      global MODE
      if MODE == Bolt:
          emitManyBolt(*args, **kwargs)
      elif MODE == Spout:
          emitManySpout(*args, **kwargs)
docs: A more efficient way to emit a number of tuples at once.