webtorrent / webtorrent-desktop

❤️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.67k stars 1k forks source link

Avoid callback hell and rewrite code to async/await style #2082

Closed AlexHladin closed 2 years ago

AlexHladin commented 2 years ago

What is the purpose of this pull request? (put an "X" next to the item)

[ ] Documentation update [ ] Bug fix [ ] New feature [x] Other, please explain: Avoid callback hell in the codebase

What changes did you make? (Give an overview) Created file-system.js to encapsulate the logic of work with the file system and updated code for using this file with async/await code style.

github-actions[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?