HealthCheckFunction typedef

HealthCheckFunction = FutureOr<Object?> Function()

One health check. It fails when it throws, returns false, or takes longer than the timeout.

Implementation

typedef HealthCheckFunction = FutureOr<Object?> Function();