Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow DispatchAsync #322

Open
mrpmorris opened this issue Jun 5, 2022 · 2 comments
Open

Allow DispatchAsync #322

mrpmorris opened this issue Jun 5, 2022 · 2 comments

Comments

@mrpmorris
Copy link
Owner

No description provided.

@mrpmorris mrpmorris closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2022
@mrpmorris mrpmorris reopened this Mar 19, 2024
@davicbaba
Copy link

davicbaba commented Apr 22, 2024

Hello, I would like to contribute to solving this problem. I think this problem should be approached as follows:

  1. Modifications to Dispatcher.cs:
    1.1 Create a new private property of type Func<ActionDispatchedEventArgs, Task> called _ActionDispatchedAsync
    1.2 Create a public method called DispatchAsync where it directly invokes _ActionDispatchedAsync instead of going through DequeueActions (as is currently done).
  2. Modifications in Store.cs:
    2.1 Subscribe to the ActionDispatchedAsync created in step 1.1.
    2.2 When ActionDispatchedAsync is invoked, execute all the processes that are currently done in DequeueActions but awaiting the Effects.

Likewise, I will create a branch soon so that I can express the idea more clearly. What do you think about this? Did you already have something in mind?

UPDATE:
Here is the code master...davicbaba:Fluxor:master

@thirking
Copy link

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants