Pkg.resumed.fuel: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg Lines 1352-1358 of ezx@1.11.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&start_line=1352&end_line=1358 import Base # fuel enough for a walk taken up again over the files read so far: a step # for every file still queued, and `walk.fuel`'s step for every import those files # can queue def resumed.fuel(+tree: Tree, +st: State) -> Nat: Tree{_whole, fs, _gone} = tree State{_seen, _out, _stop, queue} = st (List.length(&2, Task, queue) + walk.fuel(fs) : Nat) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=State https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Task https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Tree https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=walk.fuel