Skip to content

Async support for storage API #401

Description

@sergeyzwezdin

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions