MCPcopy Index your code
hub / github.com/tinyplex/tinybase / startTimeout

Function startTimeout

src/common/other.ts:36–37  ·  view source on GitHub ↗
(callback: () => void, sec: number = 0)

Source from the content-addressed store, hash-verified

34export const stopInterval = clearInterval;
35
36export const startTimeout = (callback: () => void, sec: number = 0) =>
37 setTimeout(callback, sec * THOUSAND);
38export const stopTimeout = clearTimeout;
39
40export const mathMax = math.max;

Callers 4

setPendingTimeoutFunction · 0.90
requestFunction · 0.90
constructorMethod · 0.90
sendFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…