rl.commit()


rl.commit() 方法将所有待处理的操作发送到关联的 stream 并清除待处理操作的内部列表。

The rl.commit() method sends all the pending actions to the associated stream and clears the internal list of pending actions.