mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
IWebClient: disable warning
This commit is contained in:
@@ -86,7 +86,9 @@ namespace Jackett.Utils.Clients
|
||||
return stringResult;
|
||||
}
|
||||
|
||||
virtual protected async Task<WebClientByteResult> Run(WebRequest webRequest) { return null; }
|
||||
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
|
||||
virtual protected async Task<WebClientByteResult> Run(WebRequest webRequest) { throw new NotImplementedException(); }
|
||||
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
|
||||
|
||||
abstract public void Init();
|
||||
}
|
||||
|
Reference in New Issue
Block a user