Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/hypervisor/workers/denoRun.ts>DenoRun

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
class DenoRun
implements Isolate
import { DenoRun } from "https://deno.land/x/live@1.63.12/hypervisor/workers/denoRun.ts";

Properties

private
ctrl: AbortController | undefined
protected
child: Deno.ChildProcess | undefined
protected
cleanUpPromises: Promise<void> | undefined
protected
command: Deno.Command
protected
disposed: ReturnType<Promise.withResolvers> | undefined
protected
inflightRequests: number
protected
inflightZeroEmitter: EventEmitter
protected
port: number

Methods

private
spawn(): [Deno.ChildProcess, Promise<void>]
fetch(req: Request): Promise<Response>
isRunning(): boolean
start(): void
waitUntilReady(timeoutMs?: number): Promise<void>
[Symbol.asyncDispose](): Promise<void>