Closed plastikfan closed 1 year ago
Depends on issue #17 to being implemented, ie start callback invokes at the resume path then run to completion.
Need a spawn
mechanism that deep copies the parent options instance to a child instance for sub tree to be walked. In the spawned instance some items need to be overridden, mainly to support the listening state. (NB: can deep copy using deepcopy)
There must be a distiction between the resume process and the child tree navigation.
some notes I made:
π = Fractured ancestor, caused by resume
ROOT-PATH: C:\Users\Plastikfan\dev\github\PoSh\Utopia\Elizium.Utopia RESUME-FROM: C:\Users\Plastikfan\dev\github\PoSh\Utopia\Elizium.Utopia\Tests\Data\MUSICO\edm\ELECTRONICA\Orbital\In Sides
The NET-PATH is RESUME - ROOT: "Tests\Data\MUSICO\edm\ELECTRONICA\Orbital\In Sides"
So from "In Sides", proceed as follows:
Iterate-Proceeding:
get parent of current: "In Sides"
get all siblings of current that proceed current: "Orbital", "Orbital 2", "Snivilisation", "Wonky" => β
iterate all following siblings
Get Parent "Orbital" (denoted by β)
current now becomes parent "" π
invoke Iterate-Proceeding with the new current
continue iteration until current = root