Stone.js API
    Preparing search index...

    A class-shaped check.

    Resolved through the container, so a check can hold the very client it is checking: the database pool, the cache, the queue.

    interface IHealthCheck {
        check: () => | boolean
        | HealthCheckResult
        | Promise<boolean | HealthCheckResult>;
    }
    Index
    check: () => boolean | HealthCheckResult | Promise<boolean | HealthCheckResult>