property CachedProbeOptions.probe

The reachability probe. Resolving true means the backend is reachable; resolving false or rejecting means it is not.

A probe may resolve a wider outcome than boolean — see CachedProbeOptions.fallback. T defaults to boolean, so every existing caller is unchanged.

Type

() => Promise<T>

Usage

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