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.

  1. accountThread :: Channel (m :: Type -> Type) a -> ThreadId -> m ()

    streamly Streamly.Internal.Data.Stream.Prelude

    No documentation available.

  2. maxThreads :: Int -> Config -> Config

    streamly Streamly.Internal.Data.Stream.Prelude

    Specify the maximum number of threads that can be spawned by the channel. A value of 0 resets the thread limit to default, a negative value means there is no limit. The default value is 1500. When the actions in a stream are IO bound, having blocking IO calls, this option can be used to control the maximum number of in-flight IO requests. When the actions are CPU bound this option can be used to control the amount of CPU used by the stream.

  3. workerThreads :: Channel (m :: Type -> Type) a -> IORef (Set ThreadId)

    streamly Streamly.Internal.Data.Stream.Prelude

    No documentation available.

  4. chunkReader :: forall (m :: Type -> Type) . MonadIO m => Unfold m Socket (Array Word8)

    streamly Streamly.Internal.Network.Socket

    Unfolds a socket into a stream of Word8 arrays. Requests to the socket are performed using a buffer of size defaultChunkSize. The size of arrays in the resulting stream are therefore less than or equal to defaultChunkSize.

  5. chunkReaderWith :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Socket) (Array Word8)

    streamly Streamly.Internal.Network.Socket

    Unfold the tuple (bufsize, socket) into a stream of Word8 arrays. Read requests to the socket are performed using a buffer of size bufsize. The size of an array in the resulting stream is always less than or equal to bufsize.

  6. chunkReader :: forall (m :: Type -> Type) . MonadIO m => Unfold m Socket (Array Word8)

    streamly Streamly.Network.Socket

    Unfolds a socket into a stream of Word8 arrays. Requests to the socket are performed using a buffer of size defaultChunkSize. The size of arrays in the resulting stream are therefore less than or equal to defaultChunkSize.

  7. chunkReaderWith :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Socket) (Array Word8)

    streamly Streamly.Network.Socket

    Unfold the tuple (bufsize, socket) into a stream of Word8 arrays. Read requests to the socket are performed using a buffer of size bufsize. The size of an array in the resulting stream is always less than or equal to bufsize.

  8. maxThreads :: forall t (m :: Type -> Type) a . IsStream t => Int -> t m a -> t m a

    streamly Streamly.Prelude

    Specify the maximum number of threads that can be spawned concurrently for any concurrent combinator in a stream. A value of 0 resets the thread limit to default, a negative value means there is no limit. The default value is 1500. maxThreads does not affect ParallelT streams as they can use unbounded number of threads. When the actions in a stream are IO bound, having blocking IO calls, this option can be used to control the maximum number of in-flight IO requests. When the actions are CPU bound this option can be used to control the amount of CPU used by the stream. Since: 0.4.0 (Streamly)

  9. runReaderT :: (IsStream t, Monad m) => m s -> t (ReaderT s m) a -> t m a

    streamly Streamly.Prelude

    Evaluate the inner monad of a stream as ReaderT.

  10. chunkReader :: forall (m :: Type -> Type) . Monad m => Unfold m ByteString (Array Word8)

    streamly-bytestring Streamly.External.ByteString.Lazy

    Unfold a lazy ByteString to a stream of Array Words.

Page 825 of many | Previous | Next