RunAsync Method
Definition
- Namespace
- Codebelt.Bootstrapper.Console
- Assemblies
- Codebelt.Bootstrapper.Console.dll
RunAsync(IServiceProvider, CancellationToken)
A convenient method for executing fire-and-forget code.
public abstract Task RunAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken)
Parameters
serviceProviderIServiceProviderThe IServiceProvider to retrieve services from.
cancellationTokenCancellationTokenIndicates that the run has been aborted.