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

Usage in Deno

import { Readline } from "node:readline/promises";
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