Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Availability
- newToken :: MonadIO m => m Availability
- starting :: MonadIO m => Availability -> m ()
- available :: MonadIO m => Availability -> m ()
Documentation
data Availability Source #
A semaphore-like construct whereby a service can signal to another thread that it's finished its startup phase, and is now available to use.
newToken :: MonadIO m => m Availability Source #
starting :: MonadIO m => Availability -> m () Source #
available :: MonadIO m => Availability -> m () Source #