Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FuturisticGoo authored Jan 7, 2024
1 parent 736d543 commit 2700dfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkgs/async/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 pkgs/async/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 pkgs/async/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

0 comments on commit 2700dfb

Please sign in to comment.