Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Last active November 14, 2015 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/80998cb0367642459d78 to your computer and use it in GitHub Desktop.
Save justinyoo/80998cb0367642459d78 to your computer and use it in GitHub Desktop.
Event Sourcing & CQRS Pattern for SPA
public interface IEventHandler : IDisposable
{
...
bool CanProcess(BaseEvent ev);
Task<bool> ProcessAsync(BaseEvent ev);
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment