Transform.isPaused method | Node.js stream module | Bun
BuildDocsReferenceGuidesBlogDiscord/
node:stream/
default/
Transform/
isPausedMisPaused
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
node:stream/
default/
Transform/
isPausedMisPaused
method
stream.default.Transform.isPausedisPaused(): boolean;
The readable.isPaused() method returns the current operating state of the Readable. This is used primarily by the mechanism that underlies the readable.pipe() method. In most typical cases, there will be no reason to use this method directly.
const readable = new stream.Readable();
readable.isPaused(); // === false
readable.pause();
readable.isPaused(); // === true
readable.resume();
readable.isPaused(); // === false
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →