rl.commit() 方法会将所有待处理操作发送到关联的 stream,并清除内部的待处理操作列表。
rl.commit()
stream
【The rl.commit() method sends all the pending actions to the associated stream and clears the internal list of pending actions.】