-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Milestone
Description
Modern data access libraries are migrating to async methods in their API. For example, updated MongoDB driver rewritten with async support.
On the other hand, HangFire have synchronous API for internal objects like IStorageConnection
, IFetchedJob
, IMonitoringApi
, IWriteOnlyTransaction
and so on.
It forces to use workarounds like AsyncHelper to build custom storage for HangFire.
So my suggestion is to update API in async way (e.g. return Task<TResult>
instead of TResult
).
mlewski, nphmuller, nesterenko-kv, kieranbenton, aradalvand and 5 more