middleware/health_check library

Classes

HealthCheck
The controller of Route.health(). It runs the checks at the same time and answers:

Typedefs

HealthCheckFunction = FutureOr<Object?> Function()
One health check. It fails when it throws, returns false, or takes longer than the timeout.