Hoogle Search

Within LTS Haskell 22.21 (ghc-9.6.5)

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

  1. withTimeout :: Int -> Session a -> Session a

    lsp-test Language.LSP.Test

    Execute a block f that will throw a Timeout exception after duration seconds. This will override the global timeout for waiting for messages to arrive defined in SessionConfig.

  2. socketSendMessageWithTimeout :: (HasCallStack, MonadIO m, IsSocket a, IsSocketAddress b, IsCancellable c) => a -> Maybe b -> [OutputVector] -> Maybe [SocketControlMessage] -> Int32 -> Int64 -> Maybe c -> m (PollableReturn, Word64)

    gi-gio GI.Gio.Objects.Socket

    This behaves exactly the same as socketSendMessage, except that the choice of timeout behavior is determined by the timeoutUs argument rather than by socket's properties. On error PollableReturnFailed is returned and error is set accordingly, or if the socket is currently not writable PollableReturnWouldBlock is returned. bytesWritten will contain 0 in both cases. Since: 2.60

Page 1 of 1