MCPcopy Index your code
hub / github.com/nodejs/node / run

Function run

deps/v8/test/debugger/debug/es6/generators-debug-scopes.js:25–35  ·  view source on GitHub ↗
(thunk)

Source from the content-addressed store, hash-verified

23 }
24
25 function run(thunk) {
26 handler_called = false;
27 exception = null;
28
29 var res = thunk();
30 if (continuation)
31 continuation(res);
32
33 assertTrue(handler_called, "listener not called for " + name);
34 assertNull(exception, name + " / " + exception);
35 }
36
37 var fun = Function.apply(null, formals_and_body);
38 var gen = (function*(){}).constructor.apply(null, formals_and_body);

Callers 3

RunTestFunction · 0.70
assertEqualsAsyncFunction · 0.50
assertEqualsAsyncFunction · 0.50

Calls 2

continuationFunction · 0.50
assertTrueFunction · 0.50

Tested by

no test coverage detected