Go to Latest
method Interface.prototype.pause
import { Interface } from "https://dotland.deno.dev/std@0.177.0/node/readline.ts";

The rl.pause() method pauses the input stream, allowing it to be resumed later if necessary.

Calling rl.pause() does not immediately pause other events (including'line') from being emitted by the readline.Interface instance.