-
Couldn't load subscription status.
- Fork 494
Open
Labels
Description
Refactor the activate function (main entry point to extension) to use await instead of promise chaining and promise constructors.
Why?
- The async logic is currently really hard to read
- The function is > 300 lines of code, and using
asynccould make it shorter - The function contains
asyncpromise executors, which are considered bad since they make error handling hard
jdneojdneo and CsCherrYY