新增 FlowScope Git 包雏形
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FlowScope.Resources
|
||||
{
|
||||
public interface IResourceBackend
|
||||
{
|
||||
string Name { get; }
|
||||
|
||||
Task<T> LoadAsync<T>(
|
||||
string key,
|
||||
CancellationToken cancellationToken)
|
||||
where T : class;
|
||||
|
||||
void Release<T>(string key, T asset)
|
||||
where T : class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user