Node v8.Before TypeScript interface | API Reference | Bun
BuildDocsReferenceGuidesBlogDiscord/
node:v8/
BeforeIBefore
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
node:v8/
BeforeIBefore
interface
v8.Beforeinterface
BeforeCalled before a promise continuation executes. This can be in the form of then(), catch(), or finally() handlers or an await resuming.
The before callback will be called 0 to N times. The before callback will typically be called 0 times if no continuation was ever made for the promise. The before callback may be called many times in the case where many continuations have been made from the same promise.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →