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

x/blocks/daemon/workers/utils.ts>waitForPort

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
function waitForPort
import { waitForPort } from "https://deno.land/x/blocks@1.96.2/daemon/workers/utils.ts";

Parameters

port: number
optional
options: { listening?: boolean; timeout?: number; signal?: AbortSignal; } = [UNSUPPORTED]

Returns

Promise<void>