Skip to content

Commit a986d92

Browse files
authored
Update README.md
1 parent 5ffead4 commit a986d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func testActorTaskOrdering() async {
3737
}
3838
```
3939

40-
Because the spawned `Task` inherits a nonisolated execution context, the ordering of the scheduled asynchronous work is not guaranteed.
40+
Because the `Task` is spawned from a nonisolated execution context, the ordering of the scheduled asynchronous work is not guaranteed.
4141

4242
While [actors](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html#ID645) are great at serializing tasks, there is no simple way in the standard Swift library to send ordered tasks to them from a nonisolated synchronous context, or from multiple execution contexts.
4343

0 commit comments

Comments
 (0)