Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
tryReadTBChan :: TBChan a -> STM (Maybe a)classy-prelude-yesod ClassyPrelude.Yesod A version of readTBChan which does not retry. Instead it returns Nothing if no value is available.
tryReadTBMChan :: TBMChan a -> STM (Maybe (Maybe a))classy-prelude-yesod ClassyPrelude.Yesod A version of readTBMChan which does not retry. Instead it returns Just Nothing if the channel is open but no value is available; it still returns Nothing if the channel is closed and empty.
tryReadTBMQueue :: TBMQueue a -> STM (Maybe (Maybe a))classy-prelude-yesod ClassyPrelude.Yesod A version of readTBMQueue which does not retry. Instead it returns Just Nothing if the queue is open but no value is available; it still returns Nothing if the queue is closed and empty.
tryReadTBQueue :: TBQueue a -> STM (Maybe a)classy-prelude-yesod ClassyPrelude.Yesod A version of readTBQueue which does not retry. Instead it returns Nothing if no value is available.
tryReadTChan :: TChan a -> STM (Maybe a)classy-prelude-yesod ClassyPrelude.Yesod A version of readTChan which does not retry. Instead it returns Nothing if no value is available.
tryReadTMChan :: TMChan a -> STM (Maybe (Maybe a))classy-prelude-yesod ClassyPrelude.Yesod A version of readTMChan which does not retry. Instead it returns Just Nothing if the channel is open but no value is available; it still returns Nothing if the channel is closed and empty.
tryReadTMQueue :: TMQueue a -> STM (Maybe (Maybe a))classy-prelude-yesod ClassyPrelude.Yesod A version of readTMQueue which does not retry. Instead it returns Just Nothing if the queue is open but no value is available; it still returns Nothing if the queue is closed and empty.
tryReadTMVar :: TMVar a -> STM (Maybe a)classy-prelude-yesod ClassyPrelude.Yesod A version of readTMVar which does not retry. Instead it returns Nothing if no value is available.
tryReadTQueue :: TQueue a -> STM (Maybe a)classy-prelude-yesod ClassyPrelude.Yesod A version of readTQueue which does not retry. Instead it returns Nothing if no value is available.
yieldThread :: MonadIO m => m ()classy-prelude-yesod ClassyPrelude.Yesod Originally yield.