mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 15:00:25 +03:00
Export the Data.Time.Clock.Type module from Clock
This commit is contained in:
parent
b6a2d3e836
commit
2370d23e38
@ -9,8 +9,7 @@
|
||||
module Streamly.Internal.Data.Time.Clock
|
||||
(
|
||||
-- * System clock
|
||||
Clock(..)
|
||||
, getTime
|
||||
module Streamly.Internal.Data.Time.Clock.Type
|
||||
|
||||
-- * Async clock
|
||||
, asyncClock
|
||||
@ -30,13 +29,14 @@ where
|
||||
import Control.Concurrent (threadDelay, ThreadId)
|
||||
import Control.Concurrent.MVar (MVar, newEmptyMVar, takeMVar, tryPutMVar)
|
||||
import Control.Monad (forever, when, void)
|
||||
import Streamly.Internal.Data.Time.Clock.Type (Clock(..), getTime)
|
||||
import Streamly.Internal.Data.Time.Units
|
||||
(MicroSecond64(..), fromAbsTime, addToAbsTime, toRelTime)
|
||||
import Streamly.Internal.Control.ForkIO (forkIOManaged)
|
||||
|
||||
import qualified Streamly.Internal.Data.IORef.Unboxed as Unboxed
|
||||
|
||||
import Streamly.Internal.Data.Time.Clock.Type
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- Async clock
|
||||
------------------------------------------------------------------------------
|
||||
|
@ -285,7 +285,6 @@ library
|
||||
-- streamly-time
|
||||
, Streamly.Internal.Data.Time.TimeSpec
|
||||
, Streamly.Internal.Data.Time.Units
|
||||
, Streamly.Internal.Data.Time.Clock.Type
|
||||
, Streamly.Internal.Data.Time.Clock
|
||||
|
||||
-- streamly-core-stream-types
|
||||
@ -433,6 +432,8 @@ library
|
||||
, Streamly.Internal.Data.Producer.Type
|
||||
, Streamly.Internal.Data.Producer.Source
|
||||
|
||||
, Streamly.Internal.Data.Time.Clock.Type
|
||||
|
||||
if flag(dev)
|
||||
other-modules:
|
||||
Streamly.Internal.Data.StreamK.Alt
|
||||
|
Loading…
Reference in New Issue
Block a user