tryReadTVar
tryReadTVar is a function in Haskell's STM (Software Transactional Memory) library. It provides a way to attempt reading a value from a TVar (Transactional Variable) without blocking. Unlike the `readTVar` function, which will retry the transaction if the TVar is not yet available, `tryReadTVar` returns immediately.
If the TVar contains a value, `tryReadTVar` returns `Just value`, where `value` is the current content of
The primary use case for `tryReadTVar` is in scenarios where a transaction needs to proceed even if