interface IMessenger
pinopino opened this issue · comments
pinopino commented
inside public interface IMessenger
:
void On<TModel>(string eventName, Action<TModel> action);
and
void On<TModel>(string eventName, Action<IMessage<TModel>> action);
why choose the later one?
Laurent Kempé commented
IMessenger doesn't exists anymore! It was renamed to IEventEmitter
and there is only one method On on this interface
void On<TModel>(string eventName, Action<IMessage<TModel>> action);
pinopino commented
the newest commit was b4ae8aa3 and the IEventEmitter
was:
public interface IEventEmitter
{
void On<TModel>(string eventName, Action<IMessage<TModel>> action);
void Emit<TModel>(string eventName, TModel model);
}
so its in another new branch you did not commit yet?
Laurent Kempé commented
I am talking about master branch!