Skip to main content
Interface.prototype.pause - node__readline.d.ts - Node documentation
method Interface.prototype.pause

Usage in Deno

```typescript import { Interface } from "node:node__readline.d.ts"; ```
Interface.prototype.pause(): this
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 `Interface` instance.

Return Type

this