Skip to main content
Socket.prototype.pause - net - Node documentation
method Socket.prototype.pause

Usage in Deno

import { Socket } from "node:net";
Socket.prototype.pause(): this

Pauses the reading of data. That is, 'data' events will not be emitted. Useful to throttle back an upload.

Return Type

this

The socket itself.

Back to top