Liking cljdoc? Tell your friends :D

everest.pg.notification.poll-notify


close!clj

(close! source)

create-notification-sourceclj

(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.
raw docstring

notificationsclj

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close