MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / once

Function once

map-chat/javascript/browserMqtt.js:1335–1343  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1333})
1334
1335function once (fn) {
1336 var f = function () {
1337 if (f.called) return f.value
1338 f.called = true
1339 return f.value = fn.apply(this, arguments)
1340 }
1341 f.called = false
1342 return f
1343}
1344
1345},{"wrappy":8}],10:[function(require,module,exports){
1346if (typeof Object.create === 'function') {

Callers 2

eosFunction · 0.85
browserMqtt.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected