Skip to content

ReadModelLocator Task support? #1061

Open

Description

@nicolaj-hartmann

Hey Rasmus.

Would we like to make ReadModelLocator support async operations? Since Eventflow is going to support Task as return type for IAmReadModelFor it seems like a natural way to go?

Activity

  1. rasmus commented on Nov 20, 2024

    @rasmus
    Member

    Seems that it really should. I'll see if its possible to add to v1 without doing any breaking changes 🤞 . If not, then it would have to wait 😢

    Thank you for your idea ❤️

  2. rasmus commented on Dec 8, 2024

    @rasmus
    Member

    @nicolaj-hartmann it seems it would require to do breaking changes. As an alternative, you can copy paste the implementation of MultipleAggregateReadStoreManager and re-do the part that references the IReadModelLocator to be async.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions