Adding conc as a dep for simple concurrency handling
Uh, the conc package looks nice for handling unexpected client disconnects / writing to a nil channel errors. I think this would allow me to remove the panic handler on top of the agentChain file, right? Assuming I understand, https://github.com/sourcegraph/conc?tab=readme-ov-file#goal-2-handle-panics-gracefully correctly?
Also thanks for the added error handling.
Uh, the conc package looks nice for handling unexpected client disconnects / writing to a nil channel errors. I think this would allow me to remove the panic handler on top of the agentChain file, right? Assuming I understand, https://github.com/sourcegraph/conc?tab=readme-ov-file#goal-2-handle-panics-gracefully correctly?
Also thanks for the added error handling.
:) I haven't doing go dev for quite a while, just throw it here to see if you think it's benefitial for simplicity.
Yea, personally I like the way conc remove the boilerplate for engineer to write code for concurrency, for the specific panic handler, I think we can leave the work to the conc default handling mechanism
Woo, amazing progress! Gonna close this one