Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Channel = Channel (RawSQL ())
- data Notification = Notification {}
- getNotificationIO :: DBState m -> Int -> IO (Maybe Notification)
Documentation
Representation of notification channel.
data Notification Source #
Representation of a notification sent by PostgreSQL.
Instances
getNotificationIO :: DBState m -> Int -> IO (Maybe Notification) Source #
Low-level function that waits for a notification for a given
number of microseconds (it uses timeout
function internally).