Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrismarineJS/node-minecraft-protocol
/ callOnce
Function
callOnce
test/serverTest.js:542–547 ·
view source on GitHub ↗
(fn, ...args)
Source
from the content-addressed store, hash-verified
540
}
541
542
function
callOnce (fn, ...args) {
543
console.log(
'Call Fn'
, fn.called)
544
if
(fn.called)
return
545
fn(...args)
546
fn.called = true
547
}
Callers
1
checkFinish
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected