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

Add support for Reactors and Reducers to be notified when a replay begins and ends #1669

Open
einari opened this issue Jan 21, 2025 · 0 comments
Labels
observers Issues related to event sequence observers replay

Comments

@einari
Copy link
Contributor

einari commented Jan 21, 2025

By having an interface like INotifyReplay:

public interface INotifyReplay
{
     Task BeginReplay();
     Task EndReplay();
}

For individual partitions we would have a separate interface:

public interface INotifyReplayPartition
{
     Task BeginReplayPartition(Key key);
     Task EndReplayPartition(Key key);
}
@einari einari added replay observers Issues related to event sequence observers labels Jan 21, 2025
@einari einari changed the title Add support for Reactors to be notified when a replay begins and ends Add support for Reactors and Reducers to be notified when a replay begins and ends Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
observers Issues related to event sequence observers replay
Projects
None yet
Development

No branches or pull requests

1 participant