Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Effect
data Timeout :: Effect Source #
An effect for timing out computations.
Instances
type DispatchOf Timeout Source # | |
Defined in Effectful.Timeout | |
data StaticRep Timeout Source # | |
Defined in Effectful.Timeout |
Handlers
runTimeout :: (HasCallStack, IOE :> es) => Eff (Timeout : es) a -> Eff es a Source #
Run the Timeout
effect.