Fork me on GitHub
#pathom
<
2019-09-14
>
Abhinav Sharma12:09:38

Hi guys, could you please tell me how to get the https://wilkerlucio.github.io/pathom/v2/pathom/2.2.0/core/async.html#_js_promises example return properly in the repl.

wilkerlucio21:09:44

async parsers return channels, so to get the value you have to read on it, use go and <! from core async

souenzzo12:09:27

(async/go (prn (async/<! (parser ....))))