Liking cljdoc? Tell your friends :D

active.data.http.signals.reacl-c

Reacl-c items for receiving signals.

Reacl-c items for receiving signals.
raw docstring

connected?cljs

(connected? context)

An item that sets its state to a boolean, indicating if a connection is currently in use for the given signal context.

An item that sets its state to a boolean, indicating if a connection
is currently in use for the given signal context.
sourceraw docstring

connection-statuscljs

(connection-status context)

An item that sets its state to the connection status of the given signal context. The connection-status can be :open, :closed or :connecting.

An item that sets its state to the connection status
of the given signal context. The connection-status can be :open,
:closed or :connecting.
sourceraw docstring

keep-alivecljs

(keep-alive context)

An item that tries to keep a connection for the given signal context open at all times.

An item that tries to keep a connection for the given signal context
open at all times.
sourceraw docstring

receivecljs

(receive context signal & {defer-ms :defer-ms})

An item that emits a timestamp when the given signal of the given context is received. Keeps the connection alive while mounted.

An item that emits a timestamp when the given signal of the given
context is received. Keeps the connection alive while mounted.
sourceraw docstring

receive-allcljs

(receive-all context)

An item that emits any received signal of the given context as an action. Keeps the connection alive while mounted.

An item that emits any received signal of the given context as an
action. Keeps the connection alive while mounted.
sourceraw docstring

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

× close