MCPcopy Create free account
hub / github.com/avoidwork/tenso / fn

Function fn

tests/unit/utils-delay.test.js:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5 it("should execute function immediately when n=0", done => {
6 let executed = false;
7 const fn = () => {
8 executed = true;
9 };
10
11 delay(fn, 0);
12

Callers 5

initMethod · 0.85
rateLimitMethod · 0.85
delayFunction · 0.85
wrappedFnFunction · 0.85
mockDelayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected