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

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
class DenoRun
implements Isolate
import { DenoRun } from "https://deno.land/x/live@1.75.5/daemon/workers/denoRun.ts";

Properties

private
ctrl: AbortController | undefined
protected
_logs: StreamMultiplexer<LogLine> | undefined
protected
child: Deno.ChildProcess | undefined
protected
cleanUpPromises: Promise<void> | undefined
protected
optional
client: Deno.HttpClient
protected
command: Deno.Command
protected
disposed: ReturnType<Promise.withResolvers> | undefined
protected
inflightRequests: number
protected
inflightZeroEmitter: EventEmitter
protected
port: number
protected
proxyUrl: string

Methods

private
spawn(): [Deno.ChildProcess, Promise<void>]
fetch(request: Request): Promise<Response>
isRunning(): boolean
logs(): AsyncIterableIterator<LogLine> | undefined
start(): void
waitUntilReady(timeoutMs?: number): Promise<void>
[Symbol.asyncDispose](): Promise<void>