A value yielded by a Generator or AsyncGenerator. Represents the result of a generator step.
Generator
AsyncGenerator
value
T
done
A value yielded by a
GeneratororAsyncGenerator. Represents the result of a generator step.value: The current iteration value, yielded/resolved as value of typeT.done: Whether the iterator/iteration is complete.