Load-time registry of push notification definitions.
The registry is mutable process state, so it lives in the shell — the core
(boundary.push.core.notification) stays pure (rendering only). Definitions are
registered at namespace load via the defpush macro and read at runtime by
the push service/jobs.
Load-time registry of push notification definitions. The registry is mutable process state, so it lives in the shell — the core (boundary.push.core.notification) stays pure (rendering only). Definitions are registered at namespace load via the `defpush` macro and read at runtime by the push service/jobs.
(clear-registry!)Remove all registered definitions (test/dev helper).
Remove all registered definitions (test/dev helper).
(defpush sym definition-map)Define and register a push notification type.
Define and register a push notification type.
(get-push id)Look up a registered push definition by id, or nil.
Look up a registered push definition by id, or nil.
(list-pushes)Ids of all registered push definitions.
Ids of all registered push definitions.
(register-push! definition)Register (or replace) a push definition by its :id. Returns the definition.
Register (or replace) a push definition by its :id. Returns the definition.
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 |