using System.Threading; using System.Threading.Tasks; namespace FlowScope.Resources { public interface IResourceBackend { string Name { get; } Task LoadAsync( string key, CancellationToken cancellationToken) where T : class; void Release(string key, T asset) where T : class; } }