1 | ;
|
2 | var $ = require('../internals/export');
|
3 | var $find = require('../internals/async-iterator-iteration').find;
|
4 |
|
5 | // `AsyncIterator.prototype.find` method
|
6 | // https://github.com/tc39/proposal-async-iterator-helpers
|
7 | $({ target: 'AsyncIterator', proto: true, real: true }, {
|
8 | find: function find(predicate) {
|
9 | return $find(this, predicate);
|
10 | }
|
11 | });
|