Liking cljdoc? Tell your friends :D

anthropic.stream


await-streamclj

(await-stream handle)
(await-stream handle timeout-ms)
source

cancel-stream!clj

(cancel-stream! handle)
source

close-stream!clj

(close-stream! handle)
source

start!clj

(start! open-stream
        on-event
        {:keys [buffer-size map-event] :or {buffer-size nil}})

Start a stream producer. With :buffer-size, events are pulled with take-stream-event; otherwise on-event is invoked from the producer.

Start a stream producer. With `:buffer-size`, events are pulled with
`take-stream-event`; otherwise `on-event` is invoked from the producer.
sourceraw docstring

take-stream-eventclj

(take-stream-event handle timeout-ms)
source

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