ClojureScript, core.async and promises, with sanity

Hello everybody, today I’m pleased to announce a new support small library for core.async: https://github.com/wilkerlucio/wsscode-async

I’ve been using those helpers for a couple of years already (changes here and there) in Pathom and other projects, but I finally got to extract in a proper library and add documentation around it. The main problem this library attack is related to using core.async channels in a more Promise/Futures fashion, this is especially useful for ClojureScript (where async is mandatory for many operations), to support this, this library includes helpers to assist with error propagation, JS Promises integration and also test helpers to facilitate async testing with core.async and cljs.test.

I hope you enjoy, and please use this thread to bring any discussions around the ideas and implementations of it.

16 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.