Fork me on GitHub
#cider
<
2021-11-20
>
drewverlee17:11:41

Is there a way to get cider to return/show the value of a pull from a core.async channal? right now i get object[cljs.core.async.impl.channels... ] but if i bind that value and tap it then i get the value. This might be more of a core async question actually, maybe you have to bind the value?

lilactown20:11:33

You mean like this?

(<!! chan)

lilactown20:11:12

that should display the value on chan. it sounds like you might be doing this inside of a go block and evaluating the go block, which returns a channel

drewverlee20:11:26

yes, thats correct. let me think about whats going on here more.