Skip to content

Commit 0933d39

Browse files
committed
Fix links whose USRs have changed
1 parent ed73d15 commit 0933d39

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

TSPL.docc/LanguageGuide/Concurrency.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,10 +917,10 @@ You have complete flexibility to manage unstructured tasks
917917
in whatever way your program needs,
918918
but you're also completely responsible for their correctness.
919919
To create an unstructured task that runs on the current actor,
920-
call the [`Task.init(priority:operation:)`](https://developer.apple.com/documentation/swift/task/3856790-init) initializer.
920+
call the [`Task.init(priority:operation:)`][] initializer.
921921
To create an unstructured task that's not part of the current actor,
922922
known more specifically as a *detached task*,
923-
call the [`Task.detached(priority:operation:)`](https://developer.apple.com/documentation/swift/task/3856786-detached) class method.
923+
call the [`Task.detached(priority:operation:)`][] class method.
924924
Both of these operations return a task that you can interact with ---
925925
for example, to wait for its result or to cancel it.
926926

@@ -935,6 +935,9 @@ let result = await handle.value
935935
For more information about managing detached tasks,
936936
see [`Task`](https://developer.apple.com/documentation/swift/task).
937937

938+
[`Task.init(priority:operation:)`]: https://developer.apple.com/documentation/swift/task/init(priority:operation:)-7f0zv
939+
[`Task.detached(priority:operation:)`]: https://developer.apple.com/documentation/swift/task/detached(priority:operation:)-d24l
940+
938941
<!--
939942
TODO Add some conceptual guidance about
940943
when to make a method do its work in a detached task

0 commit comments

Comments
 (0)