Skip to content

Commit 85923e2

Browse files
authored
Merge pull request #31 from gildor/on-completion-deprecation-fix
Job.onCompletion deprecation template fixed
2 parents f3042ac + c8f9ca3 commit 85923e2

File tree

1 file changed

+1
-1
lines changed
  • kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public interface Job : CoroutineContext.Element {
107107
/**
108108
* @suppress **Deprecated**: Renamed to `invokeOnCompletion`
109109
*/
110-
@Deprecated(message = "Renamed to `invokeOnCompletion`", replaceWith = ReplaceWith("invokeOnCompletion"))
110+
@Deprecated(message = "Renamed to `invokeOnCompletion`", replaceWith = ReplaceWith("invokeOnCompletion(handler)"))
111111
public fun onCompletion(handler: CompletionHandler): Registration
112112

113113
/**

0 commit comments

Comments
 (0)