- Companion:
- class
Value members
Concrete methods
A healthcheck that always returns the supplied health value.
A healthcheck that always returns the supplied health value.
Combines two healthchecks by running the first one and recovering with the second one in case of failure in F.
Combines two healthchecks by running the first one and recovering with the second one in case of failure in F.
If H and I are the same, the result's EitherK can be combined to a single H/I container using mods.mergeEitherK
.
Lifts a Boolean-returning action to a healthcheck that yields Sick if the action returns false.
Lifts a Boolean-returning action to a healthcheck that yields Sick if the action returns false.
Combines two healthchecks by running them in parallel, then wrapping the result in a Tuple2K.
Combines two healthchecks by running them in parallel, then wrapping the result in a Tuple2K.
If H and I are the same, the result's Tuple2K can be combined to a single H/I container using mods.mergeTuple2K
.
Races two healthchecks against each other. The first one to complete with a result (regardless of whether healthy or sick) will cancel the other.
Races two healthchecks against each other. The first one to complete with a result (regardless of whether healthy or sick) will cancel the other.
If H and I are the same, the result's EitherK can be combined to a single H/I container using mods.mergeEitherK
.
Combines two healthchecks by running them both, then wrapping the result in a Tuple2K.
Combines two healthchecks by running them both, then wrapping the result in a Tuple2K.
If H and I are the same, the result's Tuple2K can be combined to a single H/I container using mods.mergeTuple2K
.