Liking cljdoc? Tell your friends :D
Clojure only.

discljord.events


message-pump!clj

(message-pump! event-ch handle-event)

Starts a process which pulls events off of the channel and calls handle-event with them, and stops when it sees a :disconnect event. This takes control of the current thread.

The handle-event function takes the keyword event type, and the event data.

Starts a process which pulls events off of the channel and calls
handle-event with them, and stops when it sees a :disconnect event.
This takes control of the current thread.

The handle-event function takes the keyword event type, and the event
data.
sourceraw 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