Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
forkStatsd :: StatsdOptions -> Store -> IO Statsdekg-statsd System.Remote.Monitoring.Statsd Create a thread that periodically flushes the metrics in the store to statsd.
forkServer :: ByteString -> Int -> IO Serverekg-wai System.Remote.Monitoring.Wai Like forkServerWith, but creates a default metric store with some predefined metrics. The predefined metrics are those given in registerGcMetrics.
forkServerWith :: Store -> ByteString -> Int -> IO Serverekg-wai System.Remote.Monitoring.Wai Start an HTTP server in a new thread. The server replies to GET requests to the given host and port. The host argument can be either a numeric network address (dotted quad for IPv4, colon-separated hex for IPv6) or a hostname (e.g. "localhost".) The client can control the Content-Type used in responses by setting the Accept header. At the moment two content types are available: "application/json" and "text/html". Registers the following counter, used by the UI:
- ekg.server_time_ms The server time when the sample was taken, in milliseconds.
formatSomeException :: SomeException -> Textemacs-module Emacs.Module.Errors No documentation available.
-
exomizer Exomizer.Mem Forward: both read and write
-
exomizer Exomizer.Raw Forward: both read and write
formatDigits :: FormatStyle -> Int -> Maybe Int -> [Int] -> Int -> Stringfloatshow Text.FShow.Raw formatDigits builds the display String from the digits and the exponent of a nonnegative number.
-
An implementation of forkIO for monad stacks. < This module defines a more generic version of Control.Concurrent's forkIO, which can directly run some complex monadic actions as well as plain IO actions.
forkFinally :: IO a -> (Either SomeException a -> IO ()) -> IO ThreadIdforkable-monad Control.Concurrent.Forkable Fork a thread and call the supplied function when the thread is about to terminate, with an exception or a returned value. The function is called with asynchronous exceptions masked.
forkFinally action and_then = mask $ \restore -> forkIO $ try (restore action) >>= and_then
This function is useful for informing the parent when a child terminates, for example.forkIO :: ForkableMonad m => m a -> m ThreadIdforkable-monad Control.Concurrent.Forkable Spark off a new thread to run the monadic computation passed as the first argument, and return the ThreadId of the newly created thread. The new thread will run the computation using the same monadic context as the parent thread. As a convenience, this forkIO accepts a computation returning any value, not just unit. This value is discarded when the computation terminates.