Hello, Are there any code examples for core.async.flow available publically?
This is just a toy https://github.com/jpmonettas/radio-snake. I demoed it in this video https://www.youtube.com/watch?v=bV-amgLb-2Q. It is basically a core.async.flow graph that process radio samples from a car key fob captured with a HackRF one, does some digital signal processing to figure out the buttons press and drives a snake game. Everything is model with flow.
If you have any questions about it, let me know. The graph is here https://github.com/jpmonettas/radio-snake/blob/master/src/radio_snake/main.clj
There's this basic example: https://github.com/puredanger/flow-example/blob/main/src/stats.clj
Thanks @jjttjj! Will check it out
@jpmonettas no I meant the ability of wrapping processes and channels into a flow as it is meant to be done using core.async.flow. I'll check out the links you've shared... but I don't think this is what I am after... Thanks anyways.
@jpmonettas I see that you use flow in your code. I'll check out your code
thanks again!
So what I shared is an implementation of a system using a core.async.flow graph as its core
yes I see that now... thanks!
it has 1 channel input (the radio IQ samples captured by the HackRF) and then the output on the other side of the graph is the new game world to be rendered
https://git.sr.ht/~hiredman/resderelictae/tree/master/item/irc.clj haven't updated this in a while, so might not work with flow as released