Add foundation
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public interface INotificationHandler<in TNotification> :
|
||||
IHandler
|
||||
where TNotification :
|
||||
INotification
|
||||
{
|
||||
Task Handle(TNotification args,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user