prodo
prodo copied to clipboard
Injected/parametrized watcher
It would be nice to have the type signature createUniverseWatcher(key: keyof Universe). This means the watcher has to be aware of the universe type, so it must be injected.
A plugin would be restricted to only watching parts of the universe it creates, or of plugins it depends on (plugin dependencies TBD).