on bfeee8a help sign in
37 lines 828 B history raw
1-- |
2-- Module : Streamly.Data.Stream.Time
3-- Copyright : (c) 2022 Composewell Technologies
4-- License : BSD-3-Clause
5-- Maintainer : streamly@composewell.com
6-- Stability : released
7-- Portability : GHC
8--
9-- This module provides time related streaming abstractions.
10--
11-- The names in this module do not conflict with other stream modules,
12-- therefore, you can import it in the same namespace:
13--
14-- >>> import qualified Streamly.Data.Stream.Time as Stream
15--
16module Streamly.Data.Stream.Time
17 (
18 -- * Time
19 -- ** Timers
20 interject
22 -- ** Trimming
23 , takeInterval
24 , dropInterval
26 -- ** Chunking
27 , intervalsOf
29 -- ** Sampling
30 , sampleIntervalEnd
31 , sampleIntervalStart
32 , sampleBurstEnd
33 , sampleBurstStart
34 )
35where
37import Streamly.Internal.Data.Stream.Time