HealthCheck

abstract class HealthCheck[F[_], H[_]]

A health check. F is the effect of making a healthcheck (e.g. IO for calls to external systems).

H is the container of results. See HealthResult for examples.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def check: F[HealthResult[H]]

Concrete methods

def leftMapK[G[_]](f: FunctionK[F, G]): HealthCheck[G, H]
def mapK[I[_]](f: FunctionK[H, I])(implicit F: Functor[F]): HealthCheck[F, I]
def mapResult[I[_]](f: HealthResult[H] => HealthResult[I])(implicit F: Functor[F]): HealthCheck[F, I]
def through[G[_], I[_]](mod: (F, H, G) => I): HealthCheck[G, I]
def transform[G[_], I[_]](f: F[HealthResult[H]] => G[HealthResult[I]]): HealthCheck[G, I]