method promises.Readline.prototype.commitRe-exportimport { promises } from "https://deno.land/std@0.160.0/node/_readline.d.ts"; const { Readline } = promises; commit()Sends all the pending actions to the associated stream and clears the internal list of pending actions.