You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a thought. Instead of while(true) inside the example for 'Iteration with limited timespan' you could use while(iterator.hasNext()) imho this would give you a clean exit condition instead of relying on an exception:
Just a thought. Instead of
while(true)
inside the example for 'Iteration with limited timespan' you could usewhile(iterator.hasNext())
imho this would give you a clean exit condition instead of relying on an exception:while(iterator.hasNext()) {
var obj = interval.next();
console.log('value:', obj.value.toString(), 'done:', obj.done);
}
cheers
The text was updated successfully, but these errors were encountered: