Closed carocad closed 6 years ago
Initially I did this to avoid having to deal with Javascript promises which are not idiomatic in Clojurescript.
However it has become an unnecessary abstraction which doesnt expose the complete power of js/fetch.
I think it would be better to remove it and simply use tool/async or even extend work/transact to accept promises and use tool/async directly
tool/async
work/transact
tool/async directly
this was already fixed in https://github.com/hiposfer/hive/commit/02a2ec1a04707bfc834d2757214552b9df35e5ed
Initially I did this to avoid having to deal with Javascript promises which are not idiomatic in Clojurescript.
However it has become an unnecessary abstraction which doesnt expose the complete power of js/fetch.
I think it would be better to remove it and simply use
tool/async
or even extendwork/transact
to accept promises and usetool/async directly