8 lines
256 B
JavaScript
8 lines
256 B
JavaScript
'use strict';
|
|
var call = require('../internals/function-call');
|
|
var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');
|
|
|
|
module.exports = createAsyncIteratorProxy(function () {
|
|
return call(this.next, this.iterator);
|
|
}, true);
|