add ValueStream.isReplayValueStream
#784
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the
examples/flutter/github_search
andpackages/rxdart
directories, focusing on stream handling and improving theValueStream
functionality. The most important changes include updating dependencies, modifying stream classes and widgets, and adding new properties to enhance stream behavior.Updates to
examples/flutter/github_search
:examples/flutter/github_search/lib/bloc/search_bloc.dart
: ReplacedStateStream
withValueStream
and updated thepublishState
method topublishValueSeeded
. [1] [2]examples/flutter/github_search/pubspec.yaml
: Removedrxdart_ext
dependency.Enhancements to
packages/rxdart
:packages/rxdart/lib/src/streams/connectable_stream.dart
: AddedisReplayValueStream
property toValueConnectableStream
.packages/rxdart/lib/src/streams/replay_stream.dart
: UpdatedReplayStream
documentation to reflect replay behavior.packages/rxdart/lib/src/streams/value_stream.dart
: IntroducedisReplayValueStream
property toValueStream
interface.packages/rxdart/lib/src/subjects/behavior_subject.dart
: ImplementedisReplayValueStream
inBehaviorSubject
and_BehaviorSubjectStream
. [1] [2]Improvements to
packages/rxdart_flutter
:packages/rxdart_flutter/lib/src/value_stream_builder.dart
: UpdatedValueStreamBuilder
to useisReplayValueStream
property and modified its default behavior. [1] [2] [3]packages/rxdart_flutter/lib/src/value_stream_consumer.dart
: Similar updates toValueStreamConsumer
to handleisReplayValueStream
. [1] [2] [3]packages/rxdart_flutter/lib/src/value_stream_listener.dart
: EnhancedValueStreamListener
withisReplayValueStream
property and refactored subscription logic. [1] [2] [3] [4] [5]Additional changes:
packages/rxdart/test/subject/behavior_subject_test.dart
: Added tests forisReplayValueStream
property inBehaviorSubject
.packages/rxdart_flutter/test/src/rxdart_ext/value_subject.dart
: ImplementedisReplayValueStream
inValueSubject
and_ValueSubjectStream
. [1] [2]