async-iterator-wrap.js 256 B

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