Copyright | (c) Moritz Schulte 2017 2018 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module implements a high level interface for the
/subscriptions/SUBSCRIPTIONS/events
API.
Documentation
subscriptionProcessConduit :: (MonadNakadi b m, MonadMask m, FromJSON a, HasNakadiSubscriptionCursor c) => Maybe ConsumeParameters -> SubscriptionId -> ConduitM (SubscriptionEventStreamBatch a) c m () -> m () Source #
subscriptionProcess :: (MonadNakadi b m, MonadMask m, FromJSON a) => Maybe ConsumeParameters -> SubscriptionId -> (SubscriptionEventStreamBatch a -> m ()) -> m () Source #