Skip to content

Commit

Permalink
Add note on observable producers
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jan 27, 2024
1 parent 58c6623 commit b899984
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ void OnItemShipped(ItemShipped e) => // Refresh item status
public void Dispose() => subscription.Dispose();
```

In addition to event producers just invoking `Notify`, they can also be
implemented as `IObservable<TEvent>` directly, which is useful when the
producer is itself an observable sequence.

Both features integrate seamlessly and leverage all the power of
[Reactive Extensions](https://github.com/dotnet/reactive).


## Commands

Expand Down

0 comments on commit b899984

Please sign in to comment.