Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- withTimeout :: TimeUnit t => Members [Race, Embed IO] r => t -> STM (Maybe d) -> Sem r (QueueResult d)
Documentation
withTimeout :: TimeUnit t => Members [Race, Embed IO] r => t -> STM (Maybe d) -> Sem r (QueueResult d) Source #
Run an STM
action atomically with a time limit