Liking cljdoc? Tell your friends :D
All platforms.

hive-vscode.sse

Incremental Server-Sent Events parser. Pure. (feed buffer chunk) -> {:events [{:id :event :data}] :retry n-or-nil :buffer rest}

Incremental Server-Sent Events parser. Pure.
(feed buffer chunk) -> {:events [{:id :event :data}] :retry n-or-nil :buffer rest}
raw docstring

feedclj/s

(feed buffer chunk)

Append CHUNK to BUFFER and extract every complete event.

Append CHUNK to BUFFER and extract every complete event.
sourceraw docstring

parse-blockclj/s

(parse-block block)

One complete event block (LF-separated lines) -> {:event map-or-nil :retry n-or-nil}.

One complete event block (LF-separated lines) -> {:event map-or-nil :retry n-or-nil}.
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