mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
state service
This commit is contained in:
11
src/Core/Abstractions/IStateService.cs
Normal file
11
src/Core/Abstractions/IStateService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bit.Core.Abstractions
|
||||
{
|
||||
public interface IStateService
|
||||
{
|
||||
Task<T> GetAsync<T>(string key);
|
||||
Task RemoveAsync(string key);
|
||||
Task SaveAsync<T>(string key, T obj);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user