wasmCloud / lattice-observer

A reusable Elixir library for monitoring a lattice and deriving observed state
https://wasmcloud.com
Apache License 2.0
3 stars 2 forks source link

Adding support for recording instances from heartbeats #5

Closed autodidaddict closed 2 years ago

autodidaddict commented 2 years ago

This PR also removes the guard clause that doesn't forward events when state remains unmodified. It will now be the responsibility of downstream consumers to perform whatever diff they like and react accordingly. We don't want the lattice observer to make assumptions about how the consumers will use the data/events.