Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/deps.ts>Socket#pause

MTProto API Client for Deno 🦕
Go to Latest
method Socket.prototype.pause
import { Socket } from "https://deno.land/x/grm@v0.3.1/deps.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.