Generalized version of timeout.
Note that when the given computation times out any side effects of m are
discarded. When the computation completes within the given time the
side-effects are restored on return.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulelifted-base-0.2.3.12Haskell98
Attach a timeout event to monadic computations which are instances of MonadBaseControl.
Generalized version of timeout.
Note that when the given computation times out any side effects of m are
discarded. When the computation completes within the given time the
side-effects are restored on return.