polysemy-conc-0.5.1.0: Polysemy Effects for Concurrency
Safe HaskellNone
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