Hoogle Search

Within LTS Haskell 22.23 (ghc-9.6.5)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. Wait :: StanzaErrorType

    pontarius-xmpp Network.Xmpp.Internal

    Error is temporary - wait and retry

  2. data WaiMetrics

    wai-middleware-metrics Network.Wai.Metrics

    The metrics to feed in WAI and register in EKG.

  3. WaiMetrics :: Counter -> Distribution -> Counter -> Counter -> Counter -> Counter -> Counter -> WaiMetrics

    wai-middleware-metrics Network.Wai.Metrics

    No documentation available.

  4. data WaiOptions

    wai-cli Network.Wai.Cli

    No documentation available.

  5. WaiOptions :: Int -> String -> String -> String -> String -> String -> String -> Maybe Bool -> WaiOptions

    wai-cli Network.Wai.Cli

    No documentation available.

  6. wait :: String -> Int -> IO ()

    port-utils Network.Socket.Wait

    wait will attempt to connect to the given host and port repeated every 10 milliseconds until it is successful. It will throw an IOError if the host cannot be resolved. A typical use case is to call wait in test code to wait for a server to start before trying to connect. For example:

    void $ forkIO $ Warp.run 7000 app
    -- Wait for the server to start listening on the socket
    wait "127.0.0.1" 7000
    -- Communicate with the server
    
    If you would like to control the delay or understand how many connection attempts were made use waitWith. Since 0.0.0.1

  7. waitWith :: EventHandlers IO -> Int -> String -> Int -> IO ()

    port-utils Network.Socket.Wait

    Advanced usage. In most situations calling wait will suffice. This allows one to customize the delay between retries and debug the behavior of the function. wait is defined as

    wait = waitWith mempty defaultDelay
    
    Since 0.2.0.0

  8. wait :: String -> Int -> IO ()

    port-utils Network.Socket.Wait.Internal

    wait will attempt to connect to the given host and port repeated every 10 milliseconds until it is successful. It will throw an IOError if the host cannot be resolved. A typical use case is to call wait in test code to wait for a server to start before trying to connect. For example:

    void $ forkIO $ Warp.run 7000 app
    -- Wait for the server to start listening on the socket
    wait "127.0.0.1" 7000
    -- Communicate with the server
    
    If you would like to control the delay or understand how many connection attempts were made use waitWith. Since 0.0.0.1

  9. waitM :: Monad m => EventHandlers m -> m () -> m Bool -> m ()

    port-utils Network.Socket.Wait.Internal

    This function loops if the second argument returns False. Between the recursive calls it will call it's first argument.

  10. waitWith :: EventHandlers IO -> Int -> String -> Int -> IO ()

    port-utils Network.Socket.Wait.Internal

    Advanced usage. In most situations calling wait will suffice. This allows one to customize the delay between retries and debug the behavior of the function. wait is defined as

    wait = waitWith mempty defaultDelay
    
    Since 0.2.0.0

Page 2 of many | Previous | Next