(provider-seq->wrapped-providers provider-seq)
Given a sequence of providers, wrap them such that the first provider is the outer provider. This means that data will travel through the sequence in a left-to-right or top-to-bottom order. Returns the outer provider or nil of seq is empty
Given a sequence of providers, wrap them such that the first provider is the outer provider. This means that data will travel through the sequence in a left-to-right or top-to-bottom order. Returns the outer provider or nil of seq is empty
(wrap-provider)
(wrap-provider prov-inner prov-outer)
Works like middlewear. But the providers have to implement it themselves; most general purpose (cache, redirect, auth) implement it via their src-provider member.
Works like middlewear. But the providers have to implement it themselves; most general purpose (cache, redirect, auth) implement it via their src-provider member.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close