Fork me on GitHub
#funcool
<
2020-02-10
>
niwinz17:02:52

@hoppy async/await stuff is gone becuase it gives more complexity that the real value. Right now with, p/let p/plet and p/loop and p/recur is more than enough for build a very complex logic without the need of the general purpose async/await

niwinz17:02:25

on the JS land you cant retrieve synchronously the value of promise. it is a design decision, promesa can't do nothing here

hoppy17:02:08

got it. ps - you are missing docs for loop/recur in current version

hoppy17:02:40

I would also suggest that you get a bit more aggressive with documenting what can't be used in cljs.

hoppy17:02:13

I also note that @jeaye has a blog post https://blog.jeaye.com/2017/09/30/clojurescript-promesa/ about how to use promesa in clojurescript and he's on defn podcast this round - he is using the old-style api, so that might get confusing

jeaye18:02:55

@hoppy If you'd like to update the code for that post to use the latest version of promesa, that'd be awesome.

jeaye18:02:00

I haven't used promesa (or any async/await pattern in CLJS) since 2017, when that was written.

hoppy20:02:41

I'm probably short on "spare time" atm for that, just wanted to give heads up to all Since ray & vj will make you a rock star - and people will probably read your stuff, come here, and be lost-o

😆 4
jeaye20:02:39

Still waiting on that rock star pay check.