UNPKG

qjs

Version:

Use the await keyword with Q promises to tame your async code

10 lines (9 loc) 233 B
require('../../').compile(module, function () { module.exports.ran = true; module.exports.withoutCallingYield = function () { if (false) { yield('foo'); } return 'bar'; }; });