Skip to main content
Module

std/node/net.ts>Socket#pause

Deno standard library
Go to Latest
method Socket.prototype.pause
import { Socket } from "https://deno.land/std@0.147.0/node/net.ts";

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

Returns

this

The socket itself.