Skip to content

Commit 3ae78d7

Browse files
authored
Update feature-specification.md
1 parent 4b709f4 commit 3ae78d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accepted/future-releases/async-star-behavior/feature-specification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ the `yield` statement acts like a `return;` statement.
7474

7575
A `yield* e;` statement listens on the stream that `e` evaluates to
7676
and forwards all events to this function's subscription.
77-
If the subscription is paused, the pause is forwarded to the yielded stream
77+
If the subscription is paused, the pause is forwarded to the yielded stream.
7878
If the subscription is canceled, the cancel is forwarded to the yielded stream,
7979
then the `yield*` statement waits for any cancellation future, and finally
8080
it acts like a `return;` statement.
@@ -101,7 +101,7 @@ implementation, and it's possible that performance may improve due to this.
101101

102102
### Consequences
103103
Implementations currently do not block at a `yield` when the delivery of
104-
the event causes a pause. They simply does not allow a `yield` statement
104+
the event causes a pause. They simply do not allow a `yield` statement
105105
to act asynchronously. They can *cancel* at a yield if the cancel happened
106106
prior to the `yield`, and can easily be made to respect a cancel happening
107107
during the `yield` event delivery, but they only check for pause *before*

0 commit comments

Comments
 (0)