mods

object mods
class Object
trait Matchable
class Any
mods.type

Value members

Concrete methods

def combineTuple2K[F[_] : Functor, H[_]](implicit evidence$7: Functor[F], S: Semigroup[H[Health]]): (F, [_] =>> Tuple2K[H, H, _$28], F) => H

Combines containers in a Tuple2K using the given semigroup. Useful in conjunction with HealthCheck.{tupled, parTupled}.

Combines containers in a Tuple2K using the given semigroup. Useful in conjunction with HealthCheck.{tupled, parTupled}.

def mergeEitherK[F[_] : Functor, H[_]]: (F, [_] =>> EitherK[H, H, _$33], F) => H

Merges an EitherK of the same container type. Useful in conjunction with HealthCheck.{either, race}.

Merges an EitherK of the same container type. Useful in conjunction with HealthCheck.{either, race}.

def recoverToSick[F[_], H[_] : Applicative](implicit evidence$4: Applicative[H], F: ApplicativeError[F, _]): F => H

Recover any errors that might happen in F (to a Sick result)

Recover any errors that might happen in F (to a Sick result)

def surround[F[_] : FlatMap, H[_]](before: F[Unit])(after: HealthResult[H] => F[Unit]): F => H

Runs the before action before the healthcheck, and the after action once it has a result.

Runs the before action before the healthcheck, and the after action once it has a result.

def tagWith[F[_] : Functor, Tag](tag: Tag): (F, Id, F) => [_] =>> Tagged[Tag, _$17]

Tag a health check with a value.

Tag a health check with a value.

def timeoutToDefault[F[_], H[_] : Applicative](default: Health, duration: FiniteDuration)(implicit evidence$2: Applicative[H], F: GenTemporal[F, _]): F => H

Fallback to the provided value in case the check takes longer than duration.

Fallback to the provided value in case the check takes longer than duration.

def timeoutToFailure[F[_] : Temporal, H[_]](duration: FiniteDuration): F => H

Fail the health check with a failure (as defined by Concurrent.timeout for F) in case the check takes longer than duration.

Fail the health check with a failure (as defined by Concurrent.timeout for F) in case the check takes longer than duration.

def timeoutToSick[F[_], H[_] : Applicative](duration: FiniteDuration)(implicit evidence$1: Applicative[H], F: GenTemporal[F, _]): F => H

Fail the health check with Health.Sick in case the check takes longer than duration.

Fail the health check with Health.Sick in case the check takes longer than duration.

def untag[F[_] : Functor, Tag]: (F, [_] =>> Tagged[Tag, _$22], F) => Id

Unwrap a tagged health check (dual of tagWith).

Unwrap a tagged health check (dual of tagWith).