awesominat / stonks

The ideal investment platform
1 stars 0 forks source link

Finished CacheStockInformation use case #182

Closed gursi26 closed 11 months ago

gursi26 commented 11 months ago

This PR is still a draft, do not merge.

Refer to #181 for more information on what is implemented and why it is necessary.

gursi26 commented 11 months ago

All the changes described in #181 have been completed.

The stock information table on both DashboardView and SellView now observe the cache view model, which contains the cache state, which in turn refreshed asynchronously every 15 seconds.

The app is still as quick as before and API calls do not slow down the program, due to the fact that cache controller executes asynchronously.