(add-listener notify id sink-key f)adds a listener to the sink
adds a listener to the sink
(clear-oneshot-sinks {:keys [oneshots sinks]})clear all registered oneshot sinks
clear all registered oneshot sinks
(default-notify)gets the default notify server
(notify/default-notify)
gets the default notify server (notify/default-notify)
(default-notify:reset)resets the default notify server
resets the default notify server
(get-oneshot-id {:keys [oneshots]})registers a oneshot id for the app server
registers a oneshot id for the app server
(get-sink {:keys [sinks]} id)gets a sink from the notification app server
gets a sink from the notification app server
(handle-notify-http tx app)handler for http request
handler for http request
(handle-notify-socket socket app)handler for socket request
handler for socket request
(has-sink? {:keys [sinks]} id)checks that sink exists
checks that sink exists
(notify-server {:keys [port] :as m})create and start notify server
create and start notify server
(notify-server:create {:keys [http-port socket-port]})creates notify serve
creates notify serve
(process-capture msg)processes capture id option
processes `capture` id option
(process-message app input)processes a message recieved by the notification server
processes a message recieved by the notification server
(process-print msg)processes print id option
processes `print` id option
(remove-listener notify id sink-key)removes a listener from the sink
removes a listener from the sink
(remove-oneshot-id {:keys [oneshots]} id)removes a oneshot id
removes a oneshot id
(start-notify app)starts both servers
(notify/start-notify +server+) => map?
starts both servers (notify/start-notify +server+) => map?
(start-notify-http {:keys [http-port sinks http-instance] :as app})starts http server
starts http server
(start-notify-socket {:keys [socket-port socket-instance sinks] :as app})starts socket server
starts socket server
(stop-notify-http {:keys [http-instance] :as app})stops http server
stops http server
(stop-notify-socket {:keys [socket-instance] :as app})stops socket server
stops socket server
(watch-oneshot app timeout & [id])returns a completable future
(notify/watch-oneshot +server+ 10) => (contains [string? h/future?])
returns a completable future
(notify/watch-oneshot +server+
10)
=> (contains [string? h/future?])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 |