Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #262

Merged
merged 2 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/cancelable_operation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class CancelableOperation<T> {
///
/// Once any of [operations] completes, its result is forwarded to the
/// new [CancelableOperation] and the rest are cancelled. If the
/// bew operation is cancelled, all the [operations] are cancelled as
/// new operation is cancelled, all the [operations] are cancelled as
/// well.
static CancelableOperation<T> race<T>(
Iterable<CancelableOperation<T>> operations) {
Expand Down
4 changes: 2 additions & 2 deletions lib/src/result/result.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import 'value.dart';
/// Capturing a result (either a returned value or a thrown error) means
/// converting it into a [Result] - either a [ValueResult] or an [ErrorResult].
///
/// This value can release itself by writing itself either to a [EventSink] or a
/// [Completer], or by becoming a [Future].
/// This value can release itself by writing itself either to an [EventSink] or
/// a [Completer], or by becoming a [Future].
///
/// A [Future] represents a potential result, one that might not have been
/// computed yet, and a [Result] is always a completed and available result.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/subscription_stream.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import 'delegate/stream_subscription.dart';
/// then it is resumed and the events are passed on to the
/// stream's new subscription.
///
/// This class assumes that is has control over the original subscription.
/// This class assumes that it has control over the original subscription.
/// If other code is accessing the subscription, results may be unpredictable.
class SubscriptionStream<T> extends Stream<T> {
/// The subscription providing the events for this stream.
Expand Down