Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
waitForMessageErrorA :: (Annotated MessageError -> Bool) -> Session -> IO (Annotated MessageError)pontarius-xmpp Network.Xmpp.Internal Draw and discard stanzas from the inbound channel until a message error matching the given predicate is found. Returns the matching message error with annotations.
waitForMessageErrorA :: (Annotated MessageError -> Bool) -> Session -> IO (Annotated MessageError)pontarius-xmpp Network.Xmpp.Internal Draw and discard stanzas from the inbound channel until a message error matching the given predicate is found. Returns the matching message error with annotations.
waitForPresence :: (Presence -> Bool) -> Session -> IO Presencepontarius-xmpp Network.Xmpp.Internal Draw and discard stanzas from the inbound channel until a presence stanza matching the given predicate is found. Return the presence stanza with annotations.
waitForPresence :: (Presence -> Bool) -> Session -> IO Presencepontarius-xmpp Network.Xmpp.Internal Draw and discard stanzas from the inbound channel until a presence stanza matching the given predicate is found. Return the presence stanza with annotations.
waitForPresenceA :: (Annotated Presence -> Bool) -> Session -> IO (Annotated Presence)pontarius-xmpp Network.Xmpp.Internal Draw and discard stanzas from the inbound channel until a presence stanza matching the given predicate is found. Return the presence stanza with annotations.
waitForPresenceA :: (Annotated Presence -> Bool) -> Session -> IO (Annotated Presence)pontarius-xmpp Network.Xmpp.Internal Draw and discard stanzas from the inbound channel until a presence stanza matching the given predicate is found. Return the presence stanza with annotations.
waitForStream :: Session -> IO ()pontarius-xmpp Network.Xmpp.Internal Wait until the connection of the stream is re-established
waitForStream :: Session -> IO ()pontarius-xmpp Network.Xmpp.Internal Wait until the connection of the stream is re-established
waitSocket :: (MonadIO m, MonadMask m) => RetryPolicyM m -> AddrInfo -> m Socketnetwork-wait Network.Wait waitSocket retryPolicy addrInfo is a variant of waitSocketWith which does not install any additional exception handlers.
-
network-wait Network.Wait waitSocketVerbose outputHandler retryPolicy addrInfo is a variant of waitSocketVerboseFormat which catches all exceptions derived from SomeException and formats retry attempt information using defaultLogMsg before passing the resulting String to out.