MCPcopy Create free account
hub / github.com/nodejs/node / resolveLater

Function resolveLater

deps/v8/test/mjsunit/es8/async-function-try-finally.js:68–72  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

66};
67
68function resolveLater(value) {
69 return new Promise(function(resolve) {
70 resolve(value);
71 });
72}
73
74function rejectLater(reason) {
75 return new Promise(function(resolve, reject) {

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected