MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / waitForReachable

Function waitForReachable

apps/cli/src/daemon.ts:205–215  ·  view source on GitHub ↗
(input: {
  readonly check: Effect.Effect<boolean, E, R>;
  readonly timeoutMs: number;
  readonly intervalMs: number;
})

Source from the content-addressed store, hash-verified

203 });
204
205export const waitForReachable = <E, R>(input: {
206 readonly check: Effect.Effect<boolean, E, R>;
207 readonly timeoutMs: number;
208 readonly intervalMs: number;
209}): Effect.Effect<boolean, E, R> =>
210 waitForCondition({
211 check: input.check,
212 expected: true,
213 timeoutMs: input.timeoutMs,
214 intervalMs: input.intervalMs,
215 });
216
217export const waitForUnreachable = <E, R>(input: {
218 readonly check: Effect.Effect<boolean, E, R>;

Callers 2

installServiceFunction · 0.90

Calls 1

waitForConditionFunction · 0.85

Tested by

no test coverage detected