Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
whileEmpty :: forall a r. Member (SyncRead a) r => Sem r () -> Sem r () Source #
Run an action repeatedly until the SyncRead
variable is available.
whileEmptyInterval :: forall a u t d r. TimeUnit u => Members [Time t d, SyncRead a] r => u -> Sem r () -> Sem r () Source #
Run an action repeatedly until the SyncRead
variable is available, waiting for the specified time between executions.