(close! source)(create-notification-source db config)Creates a notification source using Postgres LISTEN/NOTIFY.
Should be used in a with-open or closed after use.
Creates a notification source using Postgres LISTEN/NOTIFY. Should be used in a `with-open` or `close`d after use.
(notifications source)Given a notification source returns a (manifold) stream of notification
messages containing:
everest.pg.notification/probable-next-position - indication of a next
position in the stream that should be read from in order to get latest
events. As the name indicates the actual position might have advanced farther
since the notification has been sent.Given a notification `source` returns a (manifold) stream of notification
messages containing:
* `everest.pg.notification/probable-next-position` - indication of a next
position in the stream that should be read from in order to get latest
events. As the name indicates the actual position might have advanced farther
since the notification has been sent.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |