MCPcopy
hub / github.com/cujojs/when / weirdAsync

Function weirdAsync

test/callbacks-test.js:355–357  ·  view source on GitHub ↗
(a, callback, b)

Source from the content-addressed store, hash-verified

353
354 'should support callbacks in any position': function(done) {
355 function weirdAsync(a, callback, b) {
356 callback(a + b);
357 }
358
359 var promisified = callbacks.promisify(weirdAsync, {
360 callback: 1

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…