3 ms·
How about composing two channels, like chan chan err? This way you can async call a function and get the result back. Of course also async. IMHO promises make
by blablabla123 11y ago
How about composing two channels, like chan chan err? This way you can async call a function and get the result back. Of course also async.
IMHO promises make a lot of sense in JS because callbacks are just everywhere. But Go has channels to keep indentation levels flat...