Changed Shop interface to be more asynchronous.
Implemented changes in Props. Implemented said changes in AdafruitShop. Fixed and improved caching in AdafruitShop.
This commit is contained in:
@@ -7,10 +7,10 @@ using Props.Shop.Framework;
|
||||
|
||||
namespace Props.Services.Modules
|
||||
{
|
||||
public interface IShopManager : IDisposable
|
||||
public interface IShopManager : IAsyncDisposable
|
||||
{
|
||||
public IEnumerable<string> GetAllShopNames();
|
||||
public IShop GetShop(string name);
|
||||
public IEnumerable<IShop> GetAllShops();
|
||||
public ValueTask<IEnumerable<string>> GetAllShopNames();
|
||||
public ValueTask<IShop> GetShop(string name);
|
||||
public ValueTask<IEnumerable<IShop>> GetAllShops();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user