ReactiveX / rxdart

The Reactive Extensions for Dart
http://reactivex.io
Apache License 2.0
3.37k stars 271 forks source link

docs: Add PublishSubject description to README #720

Open JosteveGit opened 1 year ago

JosteveGit commented 1 year ago

Description

This PR adds a description of PublishSubject to the README.md file. The current README includes descriptions for BehaviorSubject and ReplaySubject, but PublishSubject was missing.

Changes

Motivation

I noticed that the PublishSubject description was missing from the README, and I believe it's important to provide a brief overview of all available Subjects in RxDart. This addition will make it easier for users to understand the differences between the Subjects and help them choose the appropriate one for their use case.

hoc081098 commented 1 year ago

@JosteveGit The above sentence does not match the content below 😁

Dart provides the StreamController class to create and manage a Stream. RxDart offers two additional StreamControllers with additional capabilities, known as Subjects:

JosteveGit commented 1 year ago

Ha, that's right. I've updated that.