Liking cljdoc? Tell your friends :D
Clojure only.

state-flow.utils


with-resourceclj

(with-resource resource-fetcher user-fn)

Returns a step that fetches resource by calling <resource-fetcher> with the state and applies <user-fn> to the resource.

Return value is the return of <user-fn>

Returns a step that fetches resource by calling <resource-fetcher> with the state
 and applies <user-fn> to the resource.

Return value is the return of <user-fn>
sourceraw docstring

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

× close