hpqtypes-1.7.0.0: Haskell bindings to libpqtypes

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.Internal.Notification

Synopsis

Documentation

newtype Channel Source #

Representation of notification channel.

Constructors

Channel (RawSQL ()) 

data Notification Source #

Representation of a notification sent by PostgreSQL.

Constructors

Notification 

Fields

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).