Skip to content

Commit

Permalink
Correct some documentation typos (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
jingibus committed Nov 3, 2022
1 parent f91b176 commit 3867298
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commonMain/kotlin/app/cash/turbine/ReceiveTurbine.kt
Expand Up @@ -73,7 +73,7 @@ public interface ReceiveTurbine<T> {
* Assert that an event was received and return it.
* This function will suspend if no events have been received.
*
* When this [ReceiveTurbine] is in a terminal state ([Event.Complete] or [Event.Error], this method
* When this [ReceiveTurbine] is in a terminal state ([Event.Complete] or [Event.Error]), this method
* will yield the same result every time it is called.
*/
public suspend fun awaitEvent(): Event<T>
Expand All @@ -82,7 +82,7 @@ public interface ReceiveTurbine<T> {
* Assert that the next event received was an item and return it.
* This function will suspend if no events have been received.
*
* When this [ReceiveTurbine] is in a terminal state ([Event.Complete] or [Event.Error], this method
* When this [ReceiveTurbine] is in a terminal state ([Event.Complete] or [Event.Error]), this method
* will yield the same result every time it is called.
*
* @throws AssertionError if the next event was completion or an error.
Expand All @@ -101,7 +101,7 @@ public interface ReceiveTurbine<T> {
* Assert that the next event received was the flow completing.
* This function will suspend if no events have been received.
*
* When this [ReceiveTurbine] is in a terminal state ([Event.Complete] or [Event.Error], this method
* When this [ReceiveTurbine] is in a terminal state ([Event.Complete] or [Event.Error]), this method
* will yield the same result every time it is called.
*
* @throws AssertionError if the next event was an item or an error.
Expand All @@ -112,7 +112,7 @@ public interface ReceiveTurbine<T> {
* Assert that the next event received was an error terminating the flow.
* This function will suspend if no events have been received.
*
* When this [ReceiveTurbine] is in a terminal state ([Event.Complete] or [Event.Error], this method
* When this [ReceiveTurbine] is in a terminal state ([Event.Complete] or [Event.Error]), this method
* will yield the same result every time it is called.
*
* @throws AssertionError if the next event was an item or completion.
Expand Down

0 comments on commit 3867298

Please sign in to comment.