WASI.start method | Node.js wasi module | Bun
BuildDocsReferenceGuidesBlogDiscord/
node:wasi/
WASI/
startMstart
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
node:wasi/
WASI/
startMstart
method
wasi.WASI.startstart(instance: object): number;
Attempt to begin execution of instance as a WASI command by invoking its _start() export. If instance does not contain a _start() export, or if instance contains an _initialize() export, then an exception is thrown.
start() requires that instance exports a WebAssembly.Memory named memory. If instance does not have a memory export an exception is thrown.
If start() is called more than once, an exception is thrown.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →