| Safe Haskell | Unsafe |
|---|---|
| Language | Haskell2010 |
Concurrent.Promise.Unsafe
Documentation
An Promise can be fulfilled multiple times, but must be always be fulfilled with the same answer.
unsafeWritePromise :: MonadPar d i s m => Promise s a -> a -> m () Source
Like writePromise but assumes (without checking) that the write is always consistent.