Liking cljdoc? Tell your friends :D

io.pedestal.http.request.lazy


classify-keysclj

(classify-keys [k v])

Classify key-value pair based on whether its value is delayed, realized, or normal.

Classify key-value pair based on whether its value is
delayed, realized, or normal.
sourceraw docstring

derefing-map-entryclj

(derefing-map-entry kv)
(derefing-map-entry k v)

Create a new MapEntry-like object, but allow for values to be transparently derefed when accessed.

Does not provide the same level of 'equivalency' checking that MapEntry does. Use 'seq' to get a realized pair of key-value.

Create a new MapEntry-like object, but allow for values to be transparently
derefed when accessed.

Does not provide the same level of 'equivalency' checking that MapEntry does.
Use 'seq' to get a realized pair of key-value.
sourceraw docstring

IntoLazyRequestcljprotocol

-lazy-requestclj

(-lazy-request t)

Create a lazy request

Create a lazy request
source

lazy-requestclj

(lazy-request m)

Return a LazyRequest map that transparently derefs values that are delays.

Example: (:foo (lazy-request {:foo (delay :bar)})) ;; => :bar

LazyRequest's are value-equal to other LazyRequest's that share the same underlying map, but not to raw maps. Use raw or realized to return plain maps of original key-vals or realized key-vals, respectively.

Return a LazyRequest map that transparently derefs values that are delays.

Example:
(:foo (lazy-request {:foo (delay :bar)}))
;; => :bar

LazyRequest's are value-equal to other LazyRequest's that share the same
underlying map, but not to raw maps. Use `raw` or `realized` to return plain
maps of original key-vals or realized key-vals, respectively.
sourceraw docstring

LazyDatastructurecljprotocol

Utilities for manipulating/realizing lazy data structures.

Utilities for manipulating/realizing lazy data structures.

touchclj

(touch this)

Realize all portions of the underlying data structure. Returns this.

Realize all portions of the underlying data structure. Returns this.
sourceraw docstring

RawAccesscljprotocol

Utilities for exposing raw access to advanced data structures that layer new semantics onto simpler types.

Utilities for exposing raw access to advanced data
structures that layer new semantics onto simpler types.

rawclj

(raw this)

Return the raw data structure underlying a more advanced wrapper

Return the raw data structure underlying a more advanced wrapper
sourceraw docstring

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

× close