Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
293 bytes
|
Line | |
---|
1 | var AsyncGenerator = require("./AsyncGenerator.js");
|
---|
2 |
|
---|
3 | function _wrapAsyncGenerator(fn) {
|
---|
4 | return function () {
|
---|
5 | return new AsyncGenerator(fn.apply(this, arguments));
|
---|
6 | };
|
---|
7 | }
|
---|
8 |
|
---|
9 | module.exports = _wrapAsyncGenerator;
|
---|
10 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.