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

Usage in Deno

import { promises } from "node:readline";
Readline.prototype.rollback(): this

The rl.rollback methods clears the internal list of pending actions without sending it to the associated stream.

Return Type

this

this