Stability | experimental |
---|---|
Maintainer | conal@conal.net |
Write-once variables.
Documentation
Returns the value in the IVar. The *value* will block until the variable becomes filled.
tryReadIVar :: IVar a -> IO (Maybe a)Source
Returns Nothing if the IVar has no value yet, otherwise returns the value.