Listening to events coming from Chrome.
Listening to events coming from Chrome.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close