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

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
interface LiveChecker
import { type LiveChecker } from "https://deno.land/x/deco@1.107.0/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