Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/caolan/async
/ once
Function
once
lib/internal/once.js:1–8 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
1
export
default
function
once(fn) {
2
return
function
() {
3
if
(fn === null)
return
;
4
var
callFn = fn;
5
fn = null;
6
callFn.apply(this, arguments);
7
};
8
}
Callers
8
reduce
Function · 0.85
auto.js
File · 0.85
eachOfArrayLike
Function · 0.85
transform
Function · 0.85
mapValuesLimit
Function · 0.85
waterfall.js
File · 0.85
race
Function · 0.85
_eachOfLimit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…