Chapter 165: addBundleToSandbox()
Core Idea
:::warning Experimental package: We reserve the right to make breaking changes in order to correct bad design decisions until this notice is gone.
Key Concepts
- Example
- Arguments
- sandbox
- bundleDir
- Return value
- See also
Code Examples
// @module: es2022
// @target: es2022
const sandbox = await createSandbox();
await addBundleToSandbox({
sandbox,
bundleDir: '/path/to/bundle',
});
// ... use the sandbox
await sandbox.stop();
- What it demonstrates: Usage pattern for addBundleToSandbox() from the official docs.
Key Takeaways
- Understand example when working with addBundleToSandbox().
- Understand arguments when working with addBundleToSandbox().
- Understand sandbox when working with addBundleToSandbox().
- Understand bundledir when working with addBundleToSandbox().
- Understand return value when working with addBundleToSandbox().
Connects To
- Azure Container Apps: related page in the Deployment & Runtimes section.
- bun: related page in the Deployment & Runtimes section.
- Cloudflare Containers: related page in the Deployment & Runtimes section.