Hoogle Search
Within LTS Haskell 22.42 (ghc-9.6.6)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
withTimeout :: Int -> Session a -> Session alsp-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.
-
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