property allowHalfOpen | Node.js crypto module | Bun
property allowHalfOpen | Node.js crypto module | Bun
BuildDocsReferenceGuidesBlogDiscord/
node:crypto/
CipherChaCha20Poly1305/
allowHalfOpenPallowHalfOpen
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
node:crypto/
CipherChaCha20Poly1305/
allowHalfOpenPallowHalfOpen
property
crypto.CipherChaCha20Poly1305.allowHalfOpenallowHalfOpen: boolean
If false then the stream will automatically end the writable side when the readable side ends. Set initially by the allowHalfOpen constructor option, which defaults to true.
This can be changed manually to change the half-open behavior of an existing Duplex stream instance, but must be changed before the 'end' event is emitted.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →
property allowHalfOpen | Node.js crypto module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
If `false` then the stream will automatically end the writable side when the
readable side ends. Set initially by the `allowHalfOpen` constructor option,
which defaults to `true`.
This can be changed manually to change the half-open behavior of an existing
`Duplex` stream instance, but must be changed before the `