Expand description
Windows over lists of units that fill a byte budget, shared by the page and structure reads.
Traitsยง
- HasId ๐
- An item with an id that selectors can anchor on.
Functionsยง
- collapse_
children ๐ - Replaces every child list of
unit(innerBlocks,modules,chapters,pages) with a count and the path to read it from. - list_
read ๐ - A window over a whole list, which
offsetandlimitselect.nounnames what a path thatthroughandaroundstart from points at, e.g. โa blockโ. - reject_
window ๐ - Errors with
InvalidValuewhenselectorhas window fields, for reads ofwhatthat have none. - sibling_
window ๐ - The
[start, end)windowthrough,aroundorlimitselect from the siblings around the one atindex;Nonewhen the selector reads that sibling alone. - single_
unit ๐ - A single requested unit; over budget, its children collapse so the agent can descend.
- window ๐
- Fills a window
[start, end)oflistwith whole units until the budget runs out.