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.

  1. threadDelay :: Int -> IO ()

    context Context.Concurrent

    Suspends the current thread for a given number of microseconds (GHC only). There is no guarantee that the thread will be rescheduled promptly when the delay has expired, but the thread will never continue to run earlier than specified. Be careful not to exceed maxBound :: Int, which on 32-bit machines is only 2147483647 μs, less than 36 minutes. Consider using Control.Concurrent.Thread.Delay.delay from unbounded-delays package.

  2. threadWaitRead :: Fd -> IO ()

    context Context.Concurrent

    Block the current thread until data is available to read on the given file descriptor (GHC only). This will throw an IOError if the file descriptor was closed while this thread was blocked. To safely close a file descriptor that has been used with threadWaitRead, use closeFdWith.

  3. threadWaitReadSTM :: Fd -> IO (STM (), IO ())

    context Context.Concurrent

    Returns an STM action that can be used to wait for data to read from a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  4. threadWaitWrite :: Fd -> IO ()

    context Context.Concurrent

    Block the current thread until data can be written to the given file descriptor (GHC only). This will throw an IOError if the file descriptor was closed while this thread was blocked. To safely close a file descriptor that has been used with threadWaitWrite, use closeFdWith.

  5. threadWaitWriteSTM :: Fd -> IO (STM (), IO ())

    context Context.Concurrent

    Returns an STM action that can be used to wait until data can be written to a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  6. threadId :: NotFoundException -> ThreadId

    context Context.Implicit

    No documentation available.

  7. threadId :: NotFoundException -> ThreadId

    context Context.Internal

    No documentation available.

  8. class (PersistCore backend, PersistStoreRead backend) => PersistQueryRead backend

    esqueleto Database.Esqueleto

    Backends supporting conditional read operations.

  9. class (Show BackendKey backend, Read BackendKey backend, Eq BackendKey backend, Ord BackendKey backend, PersistCore backend, PersistField BackendKey backend, ToJSON BackendKey backend, FromJSON BackendKey backend) => PersistStoreRead backend

    esqueleto Database.Esqueleto

    No documentation available.

  10. class PersistStoreRead backend => PersistUniqueRead backend

    esqueleto Database.Esqueleto

    Queries against Unique keys (other than the id Key). Please read the general Persistent documentation to learn how to create Unique keys. Using this with an Entity without a Unique key leads to undefined behavior. A few of these functions require a single Unique, so using an Entity with multiple Uniques is also undefined. In these cases persistent's goal is to throw an exception as soon as possible, but persistent is still transitioning to that. SQL backends automatically create uniqueness constraints, but for MongoDB you must manually place a unique index on a field to have a uniqueness constraint.

Page 558 of many | Previous | Next