|Portability||non-portable (requires STM)|
|Maintainer||Peter Robinson <firstname.lastname@example.org>|
Reads a value from a TVar. Blocks until the IO onCommit action(s) of
the corresponding transaction are complete.
onCommit for a more detailed description of this behaviour.
Writes a value to a TVar. Blocks until the onCommit IO-action(s) are
onCommit for details.
Reads a value directly from the TVar. Does not block when the onCommit actions aren't done yet. NOTE: Only use this function when you know what you're doing.