MCPcopy
hub / github.com/google/zx / retry

Function retry

src/log.ts:101–106  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

99 return `$ ${chalk.greenBright('cd')} ${entry.dir}\n`
100 },
101 retry(entry) {
102 const attempt = `Attempt: ${entry.attempt}${entry.total == Infinity ? '' : `/${entry.total}`}`
103 const delay = entry.delay > 0 ? `; next in ${entry.delay}ms` : ''
104
105 return `${chalk.bgRed.white(' FAIL ')} ${attempt}${delay}\n`
106 },
107 end() {
108 return ''
109 },

Callers 2

goods.test.tsFile · 0.90
goods.test-d.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…