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

x/fastro/mod.ts>ListenHandler

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Go to Latest
type alias ListenHandler
import { type ListenHandler } from "https://deno.land/x/fastro@v0.88.1/mod.ts";

The callback which is called when the server starts listening.

definition: (params: { hostname: string; port: number; }) => void