Hi,
First of all thank you for the awesome work. The project looks very interesting. The effort put into documentation is really laudable.
I just started playing around with Onyx through onyx-starter project. I have few (noob) questions, especially on life cycles. I was hoping someone will help me confirm if my understanding is correct.
- In sample_lifecycles.clj line 18-21, the get-input-channel is memoized (with a comment above it on reference). Does the memorization ensure that (reference to the) same core.async channel gets returned on each call?
- In sample_lifecycles.clj, the build-lifecycles function returns vector of maps. Does the same map get passed as the lifecycle argument to the inject-in-ch function? Or in other words, is this a contract that each map for lifecycle will get passed to the corresponding functions called by the calls?
Thanks again!
Harshad