Attaches callbacks for the resolution and/or rejection of the Promise.
ShellPromise.then method | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/$/ShellPromise/thenMthen BuildDocsReferenceGuidesBlogDiscord /Bun/$/ShellPromise/thenMthen $.ShellPromise.thenthenTResult1 = ShellOutput, TResult2 = never>(onfulfilled?: null | (value: ShellOutput) => TResult1 | PromiseLikeTResult1>,onrejected?: null | (reason: any) => TResult2 | PromiseLikeTResult2>): PromiseTResult1 | TResult2>; @param onfulfilled @param onrejected @returns
Search the reference...
/
method
The callback to execute when the Promise is resolved.
The callback to execute when the Promise is rejected.
A Promise for the completion of which ever callback is executed.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →ShellPromise.then method | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method bun.$.ShellPromise.then | Bun