Stratum Execution
Stratum Templates don’t have their own explicit produce()
function.
They instead automatically produce all the Blocks defined by their Preset.
Stratum continuosly re-runs Blocks until no new Addons are provided. The algorithm is roughly…
- Create a queue of Blocks to be run, starting with all defined in the Preset
- This also factors in any modifications per Configurations >
settings
- This also factors in any modifications per Configurations >
- For each Block in the queue:
- Get the Creation from the Block, passing any current known Addons
- If a Mode is specified, additionally generate the approprate Block Creations
- Store that Block’s Creation
- If the Block specified new addons for any defined Blocks:
- Add those Blocks to the queue of Blocks to re-run
- Merge all Block Creations together
Made with 💝 in Boston by
Josh Goldberg.