async-iterator-wrap.js 242 B

123456
  1. var call = require('../internals/function-call');
  2. var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');
  3. module.exports = createAsyncIteratorProxy(function () {
  4. return call(this.next, this.iterator);
  5. }, true);