You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ResilientCommandNotifier is a way to keep tabs on which events has been run as part of the current execution.
The notifier is set through the singleton factory EventNotifierFactory. Only a single notifier is currently supported at a time.
Example
publicclassConsoleEventNotifier:ResilientCommandEventNotifier{publicoverridevoidMarkEvent(ResillientCommandEventTypeeventType,CommandKeycommandKey){Console.WriteLine($"{commandKey}: {eventType}");}}
...// In startup or whichever entrypoint you are using.EventNotifierFactory.GetInstance().SetEventNotifier(newConsoleEventNotifier());
...
Note: The default implementation doesnt do anything. You will have to create a new implementation and set the notifier