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
// This iterates the collection until the nextLink is drained out.
pageIterator.iterate();
Should be:
// This iterates the collection until the nextLink is drained out.
await pageIterator.iterate();
Current stopping-and-resuming-the-iteration
// This stops iterating over for 1000 entities.
pageIterator.iterate();
// Resuming will do start from where it left off and iterate for next 1000 entities.
// Check and resume is likely to be called in any user interaction requiring to load more data.
if (!pageIterator.isComplete()) {
pageIterator.resume();
}
Should be:
// This stops iterating over for 1000 entities.
await pageIterator.iterate();
// Resuming will do start from where it left off and iterate for next 1000 entities.
// Check and resume is likely to be called in any user interaction requiring to load more data.
if (!pageIterator.isComplete()) {
await pageIterator.resume();
}