jfroelich / rss-reader

A simple Chrome extension for viewing RSS feeds
Other
10 stars 0 forks source link

Remove excess async/await code from model #752

Closed jfroelich closed 5 years ago

jfroelich commented 5 years ago

I quickly merged ChanneledModel with Model, but there is more work to be done. There is no need to await inner promises in several of the methods. Instead, the postMessage call can happen in the resolve wrapper of the returned promise.

I think this is preferred because it is simpler. Less syntax and less code and same functionality.