Skip to content

Commit 439e38b

Browse files
committed
Briefly introduce metatype values.
1 parent f1f8c33 commit 439e38b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

TSPL.docc/LanguageGuide/Concurrency.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,9 @@ so the dynamic cast fails and `perform` is not called.
17891789
#### Restricting Isolated Conformances in Concurrent Code
17901790

17911791
Protocol requirements can be used
1792-
through instances of conforming types and through metatype values.
1792+
through instances of conforming types and through
1793+
instances of the conforming types themselves
1794+
called *metatype values*.
17931795
In generic code,
17941796
a conformance requirement to `Sendable` or `SendableMetatype`
17951797
tells Swift that an instance or metatype value is safe to use concurrently.

0 commit comments

Comments
 (0)