You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title suggests, using semaphore would make the code much clearer to read. The channel buffering makes sense, but need some time to make sense of.