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
when the first worker prints all five by a go routine, the deffer unregister will be called at the end of worker function.
Then the first worker channel unsubscribes, and all five will not be sent to the first worker channel and print.
when the first worker prints all five by a go routine, the deffer unregister will be called at the end of worker function.
Then the first worker channel unsubscribes, and all five will not be sent to the first worker channel and print.