MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / repeatUntil

Function repeatUntil

test/integration/short/cloud/cloud-tests.js:297–303  ·  view source on GitHub ↗
(conditionFn, promiseFn)

Source from the content-addressed store, hash-verified

295});
296
297function repeatUntil(conditionFn, promiseFn) {
298 if (conditionFn()) {
299 return Promise.resolve();
300 }
301
302 return promiseFn().then(() => repeatUntil(conditionFn, promiseFn));
303}

Callers 1

cloud-tests.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected