Open markalanevans opened 6 years ago
Hangfire jobs are running in the background and don't interact with any UI. You can always use ConfigureAwait(false) since you don't need SynchronizationContext for those.
@pieceofsummer thank you!
We love hangfire, but we spend a lot of time learning by reading github issues...
Is there anyone managing the docs? Really trying to put examples and use cases? Best practices etc?
Hangfire jobs are running in the background and don't interact with any UI. You can always use ConfigureAwait(false) since you don't need SynchronizationContext for those.
@pieceofsummer I think that this request is valid because we don't know that if Hangfire manages to have any SynchronizationContext or not. It doesn't need to interact with UI to have a SynchronizationContext. It should be documented on website.
Can you please document how to use jobs that return async Task ?
Do we need to .ConfigureAwait(false) or true?