Skip to content

Commit

Permalink
Make TodoRepository Sendable (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Sep 27, 2024
1 parent 9fa5606 commit c5a0d8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

/// Interface for storing and editing todos
protocol TodoRepository {
protocol TodoRepository: Sendable {
/// Create todo.
func create(title: String, order: Int?, urlPrefix: String) async throws -> Todo
/// Get todo
Expand Down

0 comments on commit c5a0d8e

Please sign in to comment.