3 ms·
Can you clarify? In golang, by convention, you only ever use asynchronous functions that return values. So there is "only one color." (You also have the option
by anonymoushn 11y ago
Can you clarify?
In golang, by convention, you only ever use asynchronous functions that return values. So there is "only one color." (You also have the option of writing callback spaghetti or implementing promises, but why would you do that?)
In elixir, you have the option of blocking on a Task. So you can do the same thing you do in golang, if you want. I don't know enough about elixir to say what the culture is like around this.