Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Representation of notification channel.
data Notification Source #
Representation of a notification sent by PostgreSQL.
Instances
listen :: MonadDB m => Channel -> m () Source #
Start listening for notifications on a given channel.
unlisten :: MonadDB m => Channel -> m () Source #
Stop listening for notifications on a given channel.
unlistenAll :: MonadDB m => m () Source #
Cancel all listener registrations for the current session.