We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a7f9c commit e4ca272Copy full SHA for e4ca272
Sources/ParseSwift/Storage/ParseStorage.swift
@@ -52,12 +52,12 @@ extension ParseStorage {
52
return try await backingStore.deleteAll()
53
}
54
55
- func get<T>(valueFor key: String) async throws -> T? where T: Decodable {
+ func get<T>(valueFor key: String) async throws -> T? where T: Decodable & Sendable {
56
try requireBackingStore()
57
return try await backingStore.get(valueFor: key)
58
59
60
- func set<T>(_ object: T, for key: String) async throws where T: Encodable {
+ func set<T>(_ object: T, for key: String) async throws where T: Encodable & Sendable {
61
62
return try await backingStore.set(object, for: key)
63
0 commit comments