Skip to content

Commit 9ef792f

Browse files
authored
Merge pull request #42 from jakiejj/master
fix typos in comments to Nio functions
2 parents 95981f3 + 4d927c7 commit 9ef792f

File tree

1 file changed

+3
-3
lines changed
  • kotlinx-coroutines-nio/src/main/kotlin/kotlinx/coroutines/experimental/nio

1 file changed

+3
-3
lines changed

kotlinx-coroutines-nio/src/main/kotlin/kotlinx/coroutines/experimental/nio/Nio.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ suspend fun AsynchronousServerSocketChannel.aAccept() = suspendCancellableCorout
9191
}
9292

9393
/**
94-
* Performs [AsynchronousServerSocketChannel.connect] without blocking a thread and resumes when asynchronous operation completes.
94+
* Performs [AsynchronousSocketChannel.connect] without blocking a thread and resumes when asynchronous operation completes.
9595
* This suspending function is cancellable.
9696
* If the [Job] of the current coroutine is completed while this suspending function is suspended, this function
9797
* *closes the underlying channel* and immediately resumes with [CancellationException].
@@ -104,7 +104,7 @@ suspend fun AsynchronousSocketChannel.aConnect(
104104
}
105105

106106
/**
107-
* Performs [AsynchronousServerSocketChannel.read] without blocking a thread and resumes when asynchronous operation completes.
107+
* Performs [AsynchronousSocketChannel.read] without blocking a thread and resumes when asynchronous operation completes.
108108
* This suspending function is cancellable.
109109
* If the [Job] of the current coroutine is completed while this suspending function is suspended, this function
110110
* *closes the underlying channel* and immediately resumes with [CancellationException].
@@ -119,7 +119,7 @@ suspend fun AsynchronousSocketChannel.aRead(
119119
}
120120

121121
/**
122-
* Performs [AsynchronousServerSocketChannel.write] without blocking a thread and resumes when asynchronous operation completes.
122+
* Performs [AsynchronousSocketChannel.write] without blocking a thread and resumes when asynchronous operation completes.
123123
* This suspending function is cancellable.
124124
* If the [Job] of the current coroutine is completed while this suspending function is suspended, this function
125125
* *closes the underlying channel* and immediately resumes with [CancellationException].

0 commit comments

Comments
 (0)