Skip to main content
method Readline.prototype.commit
Readline.prototype.commit(): Promise<void>
Deprecated

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

Return Type

Promise<void>
Back to top