Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
init
Method · 0.85
rateLimit
Method · 0.85
delay
Function · 0.85
wrappedFn
Function · 0.85
mockDelay
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected