Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

AsyncGenerator.prototype.next()

2 tags 1 category

The next() method of AsyncGenerator instances returns the next value in the sequence.

Return value: A Promise which when resolved returns an Object with two properties:

Return value: done A boolean value: true if the generator is past the end of its control flow. In this case value specifies the return value of the generator (which may be undefined). false if the generator is able to produce more values. value Any JavaScript value yielded or returned by the generator.

Parameters: value An optional value used to modify the internal state of the generator. A value passed to the next() method will be received by yield

Syntax example: next()

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…