Safe Haskell | None |
---|---|
Language | Haskell98 |
- newtype Channel = Channel (RawSQL ())
- data Notification = Notification {}
- listen :: MonadDB m => Channel -> m ()
- unlisten :: MonadDB m => Channel -> m ()
- unlistenAll :: MonadDB m => m ()
- notify :: MonadDB m => Channel -> ByteString -> m ()
Documentation
Representation of notification channel.
unlistenAll :: MonadDB m => m () Source
Cancel all listener registrations for the current session.
notify :: MonadDB m => Channel -> ByteString -> m () Source
Generate a notification on a given channel.