Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- performConcurrency :: Member (Final IO) r => Sem (Concurrency 'Safe ': r) a -> Sem r a
- unsafelyPerformConcurrency :: Member (Final IO) r => Sem (Concurrency safe ': r) a -> Sem r a
Documentation
performConcurrency :: Member (Final IO) r => Sem (Concurrency 'Safe ': r) a -> Sem r a Source #
Safely perform concurrency that wraps only IO effects.
unsafelyPerformConcurrency :: Member (Final IO) r => Sem (Concurrency safe ': r) a -> Sem r a Source #
VERY UNSAFELY perform concurrency in Polysemy. This is likely to lead to
obscure bugs. See the notes on Concurrency
to get a better understanding
of what can go wrong here.