Added DirectoryObserver

This commit is contained in:
TheXamlGuy
2024-09-29 13:10:39 +01:00
parent dc1afd5750
commit 760ce933bd
5 changed files with 96 additions and 49 deletions
+2 -2
View File
@@ -12,12 +12,12 @@ public interface IMediator
CancellationToken cancellationToken = default)
where TMessage : notnull;
IAsyncEnumerable<object?> HandleManyAsync(Type responseType,
IAsyncEnumerable<object?> HandleAsyncMany(Type responseType,
object message,
object? key = null,
CancellationToken cancellationToken = default);
IAsyncEnumerable<TResponse?> HandleManyAsync<TMessage, TResponse>(TMessage message,
IAsyncEnumerable<TResponse?> HandleAsyncMany<TMessage, TResponse>(TMessage message,
object? key = null,
CancellationToken cancellationToken = default)
where TMessage : notnull;