The iterator created by this method gives users the option to cancel the destruction of the stream if the for await...of loop is exited by return, break, or throw, or if the iterator should destroy the stream if the stream emitted an error during iteration.
Socket.iterator method | Node.js net module | Bun BuildDocsReferenceGuidesBlogDiscord/node:net/Socket/iteratorMiterator BuildDocsReferenceGuidesBlogDiscord /node:net/Socket/iteratorMiterator net.Socket.iteratoriterator(options?: ReadableIteratorOptions): AsyncIteratorany>;
Search the reference...
/
method
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Socket.iterator method | Node.js net module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:net.Socket.iterator | Bun