| Safe Haskell | Unsafe |
|---|---|
| Language | Haskell2010 |
GHC.Internal.Weak.Finalize
Synopsis
- getFinalizerExceptionHandler :: IO (SomeException -> IO ())
- setFinalizerExceptionHandler :: (SomeException -> IO ()) -> IO ()
- runFinalizerBatch :: Int -> Array# (State# RealWorld -> State# RealWorld) -> IO ()
Documentation
getFinalizerExceptionHandler :: IO (SomeException -> IO ()) Source #
Get the global action called to report exceptions thrown by weak pointer finalizers to the user.
Since: base-4.18.0.0
setFinalizerExceptionHandler :: (SomeException -> IO ()) -> IO () Source #
Set the global action called to report exceptions thrown by weak pointer finalizers to the user.
Since: base-4.18.0.0