4 ms·
What would be the equivalent to “sending tasks” to a Future instead of awaiting result (re mistake 1) but in JS with Promises? Is it about operating on unresolv
by goblin89 6y ago
What would be the equivalent to “sending tasks” to a Future instead of awaiting result (re mistake 1) but in JS with Promises? Is it about operating on unresolved promises and awaiting final values as late as possible? Or does that part not apply to JS?
- danidiaz 6y agoThe error is explicitly awaiting for the result; "sending tasks" to the future is the correct way, and corresponds to "then" in Promise.