https://learn.microsoft.com/es-es/dotnet/api/microsoft.extensions.hosting.backgroundservice.executeasync?view=net-11.0-pp
BackgroundService.ExecuteAsync(CancellationToken) Method (Microsoft.Extensions.Hosting) | Microsoft...
This method is called when the IHostedService starts. The implementation should return a task that represents the lifetime of the long running operation(s)...
cancellationtokenmethodmicrosoftextensionshosting