Extract Database to interface
This commit is contained in:
9
PluralKit.Core/Database/IDatabase.cs
Normal file
9
PluralKit.Core/Database/IDatabase.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PluralKit.Core
|
||||
{
|
||||
public interface IDatabase
|
||||
{
|
||||
Task<IPKConnection> Obtain();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user