Skip to main content
promises.Readline.prototype.commit - readline - Node documentation
method promises.Readline.prototype.commit

Usage in Deno

import { promises } from "node:readline";
Readline.prototype.commit(): Promise<void>

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