Liking cljdoc? Tell your friends :D

clj-chrome-devtools.events

Listening to events coming from Chrome.

Listening to events coming from Chrome.
raw docstring

default-wait-msclj

source

listenclj

(listen domain event)
(listen connection domain event)

Subscribe to listen to given domain event. Both domain and event are keywords. Returns a core.async channel where events can be read from.

Subscribe to listen to given domain event. Both domain and event are keywords.
Returns a core.async channel where events can be read from.
sourceraw docstring

unlistenclj

(unlisten domain event listening-ch)
(unlisten connection domain event listening-ch)

Remove the listening channel from the subscribers of the specified domain event type.

Remove the listening channel from the subscribers of the specified
domain event type.
sourceraw docstring

wait-for-eventclj

(wait-for-event domain event params)
(wait-for-event connection domain event params)
(wait-for-event connection domain event params timeout-ms)

Synchronously wait for an event with specific parameters.

Synchronously wait for an event with specific parameters.
sourceraw docstring

with-event-waitcljmacro

(with-event-wait domain event body)
(with-event-wait connection domain event body)
(with-event-wait connection domain event timeout-ms body)

Execute body that causes some later events and wait for the event before returning. If the event is not received after waiting timeout-ms milliseconds, an exception is thrown.

Execute body that causes some later events and wait for the event before returning.
If the event is not received after waiting timeout-ms milliseconds, an exception is thrown.
sourceraw docstring

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

× close