koi.utils
async-handler
(async-handler jobids jobs exec-fn)
get-asset
(get-asset agent asset-param)
get-asset-content
(get-asset-content remote-agent did)
keccak512
(keccak512 cont)
returns the keccak512 digest
process
(process params execfn)
this takes a map of input arguments, and a function to execute which returns a map with 2 keys: a
list of Asset dependencies and results, which is a map of result params names and the value is content.
It executes the function to compute the results, creates provenance metadata , registers the asset(s)
and uploads the contents
put-asset
(put-asset r-agent asset)