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

x/live/runtime/middlewares/liveness.ts>LiveChecker

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
interface LiveChecker
import { type LiveChecker } from "https://deno.land/x/live@1.96.6/runtime/middlewares/liveness.ts";

Type Parameters

optional
TValue = number

Properties

name: string
get: () => TValue
optional
observe: (req: Request) => { end: (response?: Response) => void; } | void
print: (val: TValue) => unknown
check: (val: TValue) => boolean