Copyright | (c) The University of Glasgow 2007 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell98 |
Attach a timeout event to monadic computations
which are instances of MonadBaseControl
.
- timeout :: MonadBaseControl IO m => Int -> m a -> m (Maybe a)