We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a610782 commit e30ae74Copy full SHA for e30ae74
src/app/AttributePathExpandIterator.h
@@ -151,8 +151,10 @@ class AttributePathExpandIterator
151
bool IsValidAttributeId(AttributeId attributeId);
152
};
153
154
-/// Wraps around an AttributePathExpandIterator however it rolls back Next() to one
155
-/// step back whenever Next() is not run to completion (until it returns false)
+/// PeekAttributePathExpandIterator is an AttributePathExpandIterator wrapper that rolls back the Next()
+/// call whenever a new `MarkCompleted()` method is not called (until Next() returns false). This is useful
156
+/// to allow pausing iteration in cases the next path was not ready to be used yet and iteration needs to
157
+/// continue later.
158
///
159
/// Example use cases:
160
0 commit comments