cmp.worker.read-exchange

read-exchange!

(read-exchange! {doc-path :DocPath, exch-path :ExchangePath, mp-id :MpName, state-key :StateKey, :as task})

Reads the exch-val from :ExchangePath and writes the result to :DocPath. The exch-val have to be turned into a vector, to fit the doc/store! function.

(read-exchange! {})