I need to implement some recurring jobs via Hangfire, and I can't find anything about usage of async method inside RecurringJob.AddOrUpdate method.
RetrieveFriscoProductsJob is the class which has asynchronous method named ProcessAsync(). Should this work or not? Can we add async recurring job in Hangfire? If yes how we should do it properly?
RecurringJob.AddOrUpdate<RetrieveFriscoProductsJob>(x => x.ProcessAsync(), Cron.Daily, null);