❔ ✅ Why does it work like that
I'm learning async, came up with this code. Found some info but my dumb ass didn't understand it.
why does 1 work as async threads (~5 seconds) and 2 works like regular ones (~15 seconds)? Either way I use a Task with await
10 Replies
It all has to do with when you await them
In 1, you kick all 3 tasks off, then wait for them to finish. In 2, you wait for each to finish before starting the next one
ohh thank you
wasnt as hard as i though
Nope 🙂
appreciate
yw. Feel free to $close the thread if there's nothing else
Use the /close command to mark a forum thread as answered
$close
Use the /close command to mark a forum thread as answered
Literally
/close
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.