-
Notifications
You must be signed in to change notification settings - Fork 0
Handle async code correctly #32
Copy link
Copy link
Open
Labels
Priority: Medium 🌪️You should probably go take a look. Maybe this week still?You should probably go take a look. Maybe this week still?Type: Enhancement ⏫Somebody says your code could be better! And they're probably right.Somebody says your code could be better! And they're probably right.Type: TODO 📝Let me guess: there are a lot?Let me guess: there are a lot?
Metadata
Metadata
Assignees
Labels
Priority: Medium 🌪️You should probably go take a look. Maybe this week still?You should probably go take a look. Maybe this week still?Type: Enhancement ⏫Somebody says your code could be better! And they're probably right.Somebody says your code could be better! And they're probably right.Type: TODO 📝Let me guess: there are a lot?Let me guess: there are a lot?
There are various situations where asynchronous code is not really
async, but instead blocks executions by usingawait. In order to optimize the bot, changes would be necessary.A solution would be using
function().then()instead oflet variable = await function().