code: def enqueue_command(self, command_name, args, options):
          
          assert_open(self)
          promise = Promise()
          self.commands.append((command_name, args, options, promise))
          return promise
docs: Enqueue a new command into this pipeline.