Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
tryReadChan :: OutChan a -> IO (Element a, IO a)unagi-chan Control.Concurrent.Chan.Unagi Returns immediately with:
- an Element a future, which returns one unique element when it becomes available via tryRead.
- a blocking IO action that returns the element when it becomes available.
tryRead :: Element a -> IO (Maybe a)unagi-chan Control.Concurrent.Chan.Unagi.Bounded No documentation available.
tryReadChan :: OutChan a -> IO (Element a, IO a)unagi-chan Control.Concurrent.Chan.Unagi.Bounded Returns immediately with:
- an Element a future, which returns one unique element when it becomes available via tryRead.
- a blocking IO action that returns the element when it becomes available.
tryRead :: Element a -> IO (Maybe a)unagi-chan Control.Concurrent.Chan.Unagi.NoBlocking No documentation available.
tryReadChan :: OutChan a -> IO (Element a)unagi-chan Control.Concurrent.Chan.Unagi.NoBlocking Returns immediately with an Element a future, which returns one unique element when it becomes available via tryRead. Note: This is a destructive operation. See Element for more details. Note re. exceptions: When an async exception is raised during a tryReadChan the message that the read would have returned is likely to be lost, just as it would be when raised directly after this function returns.
tryReadNext :: Stream a -> IO (Next a)unagi-chan Control.Concurrent.Chan.Unagi.NoBlocking No documentation available.
tryRead :: Element a -> IO (Maybe a)unagi-chan Control.Concurrent.Chan.Unagi.NoBlocking.Unboxed No documentation available.
tryReadChan :: UnagiPrim a => OutChan a -> IO (Element a)unagi-chan Control.Concurrent.Chan.Unagi.NoBlocking.Unboxed Returns immediately with an Element a future, which returns one unique element when it becomes available via tryRead. Note: This is a destructive operation. See Element for more details. Note re. exceptions: When an async exception is raised during a tryReadChan the message that the read would have returned is likely to be lost, just as it would be when raised directly after this function returns.
tryReadNext :: Stream a -> IO (Next a)unagi-chan Control.Concurrent.Chan.Unagi.NoBlocking.Unboxed No documentation available.
tryRead :: Element a -> IO (Maybe a)unagi-chan Control.Concurrent.Chan.Unagi.Unboxed No documentation available.