public async ValueTask <IWantStorage> CreateAsync(string configPath, WantStorageOptions options, IObjectStoreFactory objectStoreFactory, IBytesPool bytesPool) { var result = new WantStorage(configPath, options, objectStoreFactory, bytesPool); await result.InitAsync(); return(result); }
internal WantStorage(string configPath, WantStorageOptions options, IObjectStoreFactory objectStoreFactory, IBytesPool bytesPool) { _configPath = configPath; _bytesPool = bytesPool; }