This was originally planned to be a PR that prepped the NATS components to be cluster-aware/cluster-friendly but after a number of iterations it ended up being cleaner if this library were to remain purely functional and the NATS stuff were pushed to consumers (like wadm).
While I was in here I noticed that the lattice structure itself didn't hold a field for the prefix/id so I added that field.
This was originally planned to be a PR that prepped the NATS components to be cluster-aware/cluster-friendly but after a number of iterations it ended up being cleaner if this library were to remain purely functional and the NATS stuff were pushed to consumers (like
wadm
).While I was in here I noticed that the lattice structure itself didn't hold a field for the prefix/id so I added that field.