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