polysemy-conc-0.9.0.0: Polysemy effects for concurrency
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Conc.Queue.Timeout

Description

 
Synopsis

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