Skip to content

Commit e36dbda

Browse files
committed
Add conditional Sendable conformance to DispatchSpecificKey.
1 parent 13151a6 commit e36dbda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/swift/Queue.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ public final class DispatchSpecificKey<T> {
1919
public init() {}
2020
}
2121

22+
extension DispatchSpecificKey : Sendable where T : Sendable {
23+
}
24+
2225
internal class _DispatchSpecificValue<T> {
2326
internal let value: T
2427
internal init(value: T) { self.value = value }

0 commit comments

Comments
 (0)