MCPcopy Index your code
hub / github.com/formbricks/formbricks / delay

Function delay

packages/cache/src/cache-integration.test.ts:13–16  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

11
12// Helper to reduce nesting depth
13const delay = (ms: number): Promise<void> =>
14 new Promise((resolve) => {
15 setTimeout(resolve, ms);
16 });
17
18// Test Redis availability
19async function checkRedisAvailability(): Promise<boolean> {

Callers 2

expensiveFunctionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected