Skip to content

Instantly share code, notes, and snippets.

@fatihdumanli
Last active November 3, 2020 20:15
Show Gist options
  • Save fatihdumanli/51eeb81cf845dd3e1670e0133ca2a487 to your computer and use it in GitHub Desktop.
Save fatihdumanli/51eeb81cf845dd3e1670e0133ca2a487 to your computer and use it in GitHub Desktop.
IMessageHandler interface
using System.Threading.Tasks;
namespace EventTower
{
public interface IMessageHandler<T> where T: IMessage
{
Task Handle(T message);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment