MCPcopy Create free account
hub / github.com/cloudflare/meet / execute

Function execute

app/utils/keepTrying.ts:4–13  ·  view source on GitHub ↗
(retryTime = 1000)

Source from the content-addressed store, hash-verified

2 let keepTrying = true
3
4 const execute = (retryTime = 1000) => {
5 fn().catch((error) => {
6 console.debug(error)
7 setTimeout(() => {
8 if (keepTrying) {
9 execute(retryTime * 1.5)
10 }
11 }, retryTime)
12 })
13 }
14 execute()
15
16 return () => {

Callers 1

keepTryingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected