Replies: 1 comment
-
@mattkasun I think as it stands right now there is no advantage or disadvantage, minus the extremely slight overhead of having an additional go routine and channel. Others can chime in if they know better, but I am willing to bet that this is a placeholder for if in the future this done channel wants to be used by anything else. i.e if in the future we want the ability to pass that But as it stands I believe you are correct in that the functionality can be done just by using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
All of the examples use the following pattern:
Is there an advantage to this pattern vs
Beta Was this translation helpful? Give feedback.
All reactions