healthCheck
Creates a HealthCheck whose HealthCheck.check method is defined by the given lambda.
Return
a new HealthCheck instance.
Parameters
block
a lambda with HealthCheck as the receiver that returns a HealthCheck.Result.
Creates a HealthCheck whose HealthCheck.check method is defined by the given lambda.
a new HealthCheck instance.
a lambda with HealthCheck as the receiver that returns a HealthCheck.Result.