(add-fn store-id)
Returns a fn that is ready to process an element and return results.
Returns a fn that is ready to process an element and return results.
(apply-default default-fn element)
If there is a provided default-fn apply it to the element.
A default-fn must be arity-1 and return the modified element map
If there is a provided default-fn apply it to the element. A default-fn must be arity-1 and return the modified element map
(availability-fn store-id)
Returns a fn that is ready to process an element and return query results.
Returns a fn that is ready to process an element and return query results.
(change-availability! content-store
{:storage/keys [block provider] :as element})
(query-fn store-id)
Returns a fn that is ready to process an element and return results.
Passes the store-id to the implementing block store which generates a function that uses the content store.
Returns a fn that is ready to process an element and return results. Passes the store-id to the implementing block store which generates a function that uses the content store.
(remove-block! block-store {:storage/keys [block] :as element})
(remove-content! content-store {:storage/keys [block provider] :as element})
(remove-fn store-id)
Returns a fn that is ready to process an element and return results.
Returns a fn that is ready to process an element and return results.
(write-block! store-id
{:storage/keys [block]
:store.add/keys [metadata metadata-action rm-sources]
:as element})
(write-content! content-store
{:storage/keys [block provider]
:store.add/keys [error-when-content-exists?]
:as element})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close