Good morning.
Hello @pupeno
Guten Morgen
Yo!
afternoon, from Copenhagen
god dag jonpither i københavn
god dag indeed
you like dags?
more than nats anyway
Anyone using promesa over core.async?
This is interesting reading on the above: https://groups.google.com/forum/#!topic/clojurescript/LBy0yiZiWrA
@jonpither: i'm using funcool/cats mlet/alet to manage my async processing in both cljs+clj ... (not with promesa in cljs, but one-shot core.async channels, but not dissimilar to promesa in the end)
ha
you got any example code you could lead me?
sure, hold on
I was thinking of making a case for a client to replace promesa + funcool cats with core.async, but that google group post gave me pause for thought
I'm not very familiar with promesa, but there seems to be parallels between promesa's mlet and @ztellman manifold's let-flow. Also between es7's Promise.all, promesa's promise chaining and manifold's d/chains. But the Tim Baldridge quote in the clojurescript list thread about 'one-shot' channels rings true.
I'm still somewhat enamored by manifold and not sure whether it's better than core.async or not. I don't think it's helpful to say one is 'better', they are too different. Right now I prefer manifold though.
The try/catch error handling turns out to be important in my use-cases. I think it's just a matter of deciding which async tool is best of a particular situation but not being afraid to try different things