Use PostgreSQL LISTEN/NOTIFY with your Hasql Types
Primary LanguageHaskellOtherNOASSERTION
See documentation for the module Hasql.Notifications on the Hackage page.