This is true if the socket is not connected yet, either because .connect()has not yet been called or because it is still in the process of connecting (see socket.connecting).
Socket.pending property | Node.js net module | Bun BuildDocsReferenceGuidesBlogDiscord/node:net/Socket/pendingPpending BuildDocsReferenceGuidesBlogDiscord /node:net/Socket/pendingPpending net.Socket.pendingreadonly pending: boolean
Search the reference...
/
property
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Socket.pending property | Node.js net module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- This is `true` if the socket is not connected yet, either because `.connect()`has not yet been called or because it is still in the process of connecting
(see `socket.connecting`).