Comment

Comment by SamReidHughes

Far better to just read twice from the channel, too. It's generally a smell to leave stuff on a channel. And that's a good example why -- you're losing track of a goroutine with no way to wait for completion or interrupt it.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton