Notify(Func<TObserver, Task>, Func<TObserver, bool>)
public Task ObserverManager<TIdentity, Notify(Func<TObserver, Task> notification, Func<TObserver, bool>? predicate = null) Notifies all observers.
Parameters
notificationFunc<TObserver, Task>- The notification delegate to call on each observer.
predicateFunc<TObserver, bool>- The predicate used to select observers to notify.
Returns
A
System.Threading.Tasks.Task representing the work performed. 