create(options: DenoSandboxOptions): Promise<DenoSandbox>| Name | Type | Description |
|---|---|---|
options | DenoSandboxOptions | Configuration options for the sandbox |
const sandbox = await DenoSandbox.create({
memory: "1GiB",
timeout: "10m",
region: "ord",
});Create and initialize a new DenoSandbox in one step.
This is the recommended way to create a sandbox. It combines construction and initialization into a single async operation.