Apache Mesos
|
process::Stream<CheckStatusInfo>
rather than invoking a callback. A better approach would be to return a stream of updates, e.g., process::Stream<TaskHealthStatus>
rather than invoking a callback.
Consider leveraging checks::Checker
for checking functionality. This class will then focus on interpreting and acting on the result.