lww_register

The last-write-wins register CRDT.

Package Version Hex Docs

CRDTs (conflict-free replicated data type) are data structures that can be can be merged in any order and always get the same result at the end. They may be useful for making distributed programs where not all the nodes are able to co-ordinate to change agree on program state.

gleam add lww_register@1

Documentation can be found at https://hexdocs.pm/lww_register.

Search Document