in reply to Re: Coro::Channel, worker thread and timeout
in thread Coro::Channel, worker thread and timeout
I think your suggestion is more elegant than what I had originally with the 10 worker threads. And $Coro::current->cancel appears like a sure way to get rid of a coro on timeout, so I'll try quick samples and see what happens. Thank you for sharing a thorough example.