System.Timeout

System.Timeout

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 Haskell2010

Description

Attach a timeout event to arbitrary IO computations.

timeout :: Int -> IO a -> IO (Maybe a) 登录查看完整内容