docs: add comments to region calculator

This commit is contained in:
Jacob Kim
2025-08-29 16:18:17 -07:00
parent af30c19d91
commit e6d7b105f5

View File

@@ -13,6 +13,10 @@ export enum EditableRegionStrategy {
Static = "static",
}
/**
* This was an attempt to find next edit locations deterministically.
* I was intending to use this in tandem with the prefetching logic, but we are not using it anymore.
*/
export async function getNextEditableRegion(
strategy: EditableRegionStrategy,
ctx: any,