consistent

Eventually consistent STM transactions.

Latest on Hackage:0.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by John Wiegley
Maintained by [email protected]

Eventually consistent STM transactions.

Consistent provides eventually consistent atomic transactions, by delaying updates until no threads is mutating a shared variable.

This comes at a cost of having a separate TVar for every thread, but has the advantage that no thread will ever lock or retry except for the manager actor responsible for performing the updates.