Hi all,
I just started to use the async module and I guess I am out of sync about the relation to xq-promise:
Basex now has asyn:fork-join which exectues in parallel and comes back with all results
xq-promise has p:fork-join which seems to be the previous implementation
Could I swap one for the other?
Side note: async:eval which works like xquery:eval is great, but I have to do something like this for functions:
``` let $ids := async:eval("declare variable $f external; declare variable $name external; $f($name)", map { 'f': '_:get-meta', 'name' : $name })
return $ids ```
With get-meta being a local function that accepts a single parameter. Is there an easier way to do this?
Regards,
Max