When using dependency injection and async-await pattern it is possible to end up with an interface with a method that returns a Task. If this interface method is used in a synchronous method there is a likelihood that it will erroneously be run as a fire and forget method. In this situation this analyser generates a warning.
See the version list below for details.
Install-Package Lindhart.Analyser.MissingAwaitWarning -Version 1.2.0-beta
dotnet add package Lindhart.Analyser.MissingAwaitWarning --version 1.2.0-beta
<PackageReference Include="Lindhart.Analyser.MissingAwaitWarning" Version="1.2.0-beta" />
paket add Lindhart.Analyser.MissingAwaitWarning --version 1.2.0-beta
Updated to include all currently known awaitable types.
- System.Threading.Tasks.Extensions (>= 4.3.0)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on Lindhart.Analyser.MissingAwaitWarning:
Miki discord bot framework
Core library for command scaffolding and handling for Discord bots
Argument parsing providers for input strings to types.
ACL for your commands
Localization context creation plugin for Miki.Framework
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Lindhart.Analyser.MissingAwaitWarning:
A high-performance framework for eventually consistent distributed event traceability based on the Virtual Actor model.
Miki Discord Bot