funcool

A channel for discussing and asking questions about Funcool libraries https://github.com/funcool/
niwinz 2020-02-10T17:10:52.018700Z

@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

niwinz 2020-02-10T17:12:25.019700Z

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

hoppy 2020-02-10T17:30:08.020100Z

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

hoppy 2020-02-10T17:31:40.020900Z

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

hoppy 2020-02-10T17:35:13.022400Z

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

jeaye 2020-02-10T18:52:55.023400Z

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

jeaye 2020-02-10T18:54:00.024Z

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

hoppy 2020-02-10T20:29:41.024700Z

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

😆 1
jeaye 2020-02-10T20:56:39.025300Z

Still waiting on that rock star pay check.