Liking cljdoc? Tell your friends :D

std.lang.interface.type-notify


*notify-capture*clj


*notify-override*clj


add-listenerclj

(add-listener notify id sink-key f)

adds a listener to the sink

adds a listener to the sink
raw docstring

clear-oneshot-sinksclj

(clear-oneshot-sinks {:keys [oneshots sinks]})

clear all registered oneshot sinks

clear all registered oneshot sinks
raw docstring

clear-sinkclj

(clear-sink {:keys [sinks]} id)

clears a sink

clears a sink
raw docstring

default-notifyclj

(default-notify)

gets the default notify server

(notify/default-notify)

gets the default notify server

(notify/default-notify)
raw docstring

default-notify:resetclj

(default-notify:reset)

resets the default notify server

resets the default notify server
raw docstring

get-oneshot-idclj

(get-oneshot-id {:keys [oneshots]})

registers a oneshot id for the app server

registers a oneshot id for the app server
raw docstring

get-sinkclj

(get-sink {:keys [sinks]} id)

gets a sink from the notification app server

gets a sink from the notification app server
raw docstring

handle-notify-httpclj

(handle-notify-http tx app)

handler for http request

handler for http request
raw docstring

handle-notify-socketclj

(handle-notify-socket socket app)

handler for socket request

handler for socket request
raw docstring

has-sink?clj

(has-sink? {:keys [sinks]} id)

checks that sink exists

checks that sink exists
raw docstring

notify-serverclj

(notify-server {:keys [port] :as m})

create and start notify server

create and start notify server
raw docstring

notify-server:createclj

(notify-server:create {:keys [http-port socket-port]})

creates notify serve

creates notify serve
raw docstring

process-captureclj

(process-capture msg)

processes capture id option

processes `capture` id option
raw docstring

process-messageclj

(process-message app input)

processes a message recieved by the notification server

processes a message recieved by the notification server
raw docstring

process-printclj

(process-print msg)

processes print id option

processes `print` id option
raw docstring

remove-listenerclj

(remove-listener notify id sink-key)

removes a listener from the sink

removes a listener from the sink
raw docstring

remove-oneshot-idclj

(remove-oneshot-id {:keys [oneshots]} id)

removes a oneshot id

removes a oneshot id
raw docstring

start-notifyclj

(start-notify app)

starts both servers

(notify/start-notify +server+) => map?

starts both servers

(notify/start-notify +server+)
=> map?
raw docstring

start-notify-httpclj

(start-notify-http {:keys [http-port sinks http-instance] :as app})

starts http server

starts http server
raw docstring

start-notify-socketclj

(start-notify-socket {:keys [socket-port socket-instance sinks] :as app})

starts socket server

starts socket server
raw docstring

stop-notifyclj

(stop-notify app)

stops both servers

stops both servers
raw docstring

stop-notify-httpclj

(stop-notify-http {:keys [http-instance] :as app})

stops http server

stops http server
raw docstring

stop-notify-socketclj

(stop-notify-socket {:keys [socket-instance] :as app})

stops socket server

stops socket server
raw docstring

watch-oneshotclj

(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?])
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close