cherry

alex 2022-11-29T01:38:54.847249Z

(js/Promise.all [promise-1 promise-2 promise-3]) seems to work well, and a colleague asked why we don't need to specify a JS array. Does Cherry automatically convert cljs vector -> js array for the purpose of making js/Promise.all more ergonomic?

lilactown 2022-11-29T04:18:17.599819Z

I believe Promise.all works with anything that is iterable, and CLJS vectors are iterable

👍 3
🤯 1