Hangfire: Documentation request: Async Jobs

Created on 23 May 2018  路  2Comments  路  Source: HangfireIO/Hangfire

Can you please document how to use jobs that return async Task ?

Do we need to .ConfigureAwait(false) or true?

question

Most helpful comment

@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?

All 2 comments

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?

Was this page helpful?
0 / 5 - 0 ratings