interface HandlerResult
Since 0.1.0

Opaque marker returned by IResponse terminal methods and expected back from route handlers. It exists purely so the type system can verify a handler produced a response; only the kernel creates values of this type.

Properties

readonly
__handlerResult: true

Brand preventing accidental structural matches.

Usage

import { type HandlerResult } from "common/src/index.ts";