Skip to content

Commit c8f9ca3

Browse files
committed
Job.onCompletion deprecation template fixed
1 parent f3042ac commit c8f9ca3

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)