influxdb-0.1.0: Haskell client library for InfluxDB

Safe HaskellSafe-Inferred

Database.InfluxDB.Stream

Synopsis

Documentation

data Stream m a Source

Effectful stream

Constructors

Yield a (m (Stream m a))

Yield a value. The stream will be continued.

Done

The end of the stream.

mapM :: Monad m => (a -> m b) -> Stream m a -> m (Stream m b)Source

Map each element of a stream to a monadic action, evaluate these actions from left to right, and collect the results as a stream.