Liking cljdoc? Tell your friends :D

via.core


dispatchclj/s

(dispatch event)
(dispatch peer-id event)
(dispatch endpoint peer-id event)

Dispatch event to peer-id through endpoint.

Dispatch `event` to `peer-id` through `endpoint`.
sourceraw docstring

invokeclj/s

(invoke event)
(invoke event options)
(invoke endpoint peer-id event)
(invoke endpoint peer-id event options)

Invoke the handler for event on peer-id through endpoint, with a response from the peer expected, which can be handled using promise syntax.

Invoke the handler for `event` on `peer-id` through `endpoint`,
with a response from the peer expected, which can be handled using
promise syntax.
sourceraw docstring

subscribeclj/s

(subscribe query)
(subscribe query default)
(subscribe endpoint peer-id query)
(subscribe endpoint peer-id query default)
source

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

× close