Skip to content

Commit

Permalink
Refactor DataStorageService to conform to the Actor protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
phisakel committed Sep 22, 2024
1 parent dcb14d1 commit 602e5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WalletStorage/DataStorageService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
import Foundation

/// Data storage protocol
public protocol DataStorageService {
public protocol DataStorageService: Actor {
func loadDocument(id: String, status: DocumentStatus) async throws -> Document?
func loadDocuments(status: DocumentStatus) async throws -> [Document]?
func saveDocument(_ document: Document, allowOverwrite: Bool) async throws
Expand Down

0 comments on commit 602e5e1

Please sign in to comment.