MCPcopy Index your code
hub / github.com/cujojs/when / f1

Function f1

test/monitor/unhandled-forever.js:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 var Promise = require('../../when').Promise;
17
18 function f1() {
19 return new Promise(function(_, reject) {
20 reject(new Error('unhandled-forever'));
21 });
22 }
23
24 function f2(p) {
25 return p.then(function() {});

Callers 1

Calls 1

rejectFunction · 0.70

Tested by

no test coverage detected