@@ -22,18 +22,18 @@ import Dispatch
2222/// ### Writing into the Database
2323///
2424/// - ``write(_:)-76inz``
25- /// - ``write(_:)-3db50 ``
25+ /// - ``write(_:)-4gnqx ``
2626/// - ``writePublisher(receiveOn:updates:)``
2727/// - ``writePublisher(receiveOn:updates:thenRead:)``
2828/// - ``writeWithoutTransaction(_:)-4qh1w``
29- /// - ``writeWithoutTransaction(_:)-67mri ``
29+ /// - ``writeWithoutTransaction(_:)-18zhj ``
3030/// - ``asyncWrite(_:completion:)``
3131/// - ``asyncWriteWithoutTransaction(_:)``
3232///
3333/// ### Exclusive Access to the Database
3434///
3535/// - ``barrierWriteWithoutTransaction(_:)-280j1``
36- /// - ``barrierWriteWithoutTransaction(_:)-48d63 ``
36+ /// - ``barrierWriteWithoutTransaction(_:)-11q6c ``
3737/// - ``asyncBarrierWriteWithoutTransaction(_:)``
3838///
3939/// ### Reading from the Latest Committed Database State
@@ -130,7 +130,7 @@ public protocol DatabaseWriter: DatabaseReader {
130130 /// database access, or the error thrown by `updates`, or
131131 /// `CancellationError` if the task is cancelled.
132132 func writeWithoutTransaction< T: Sendable > (
133- _ updates: @escaping @ Sendable ( Database) throws -> T
133+ _ updates: @Sendable ( Database) throws -> T
134134 ) async throws -> T
135135
136136 /// Executes database operations, and returns their result after they have
@@ -213,7 +213,7 @@ public protocol DatabaseWriter: DatabaseReader {
213213 /// database access, or the error thrown by `updates`, or
214214 /// `CancellationError` if the task is cancelled.
215215 func barrierWriteWithoutTransaction< T: Sendable > (
216- _ updates: @escaping @ Sendable ( Database) throws -> T
216+ _ updates: @Sendable ( Database) throws -> T
217217 ) async throws -> T
218218
219219 /// Schedules database operations for execution, and returns immediately.
@@ -640,7 +640,7 @@ extension DatabaseWriter {
640640 /// database access, or the error thrown by `updates`, or
641641 /// `CancellationError` if the task is cancelled.
642642 public func write< T: Sendable > (
643- _ updates: @escaping @ Sendable ( Database) throws -> T
643+ _ updates: @Sendable ( Database) throws -> T
644644 ) async throws -> T {
645645 try await writeWithoutTransaction { db in
646646 var result : T ?
@@ -885,7 +885,7 @@ extension AnyDatabaseWriter: DatabaseReader {
885885 }
886886
887887 public func read< T: Sendable > (
888- _ value: @escaping @ Sendable ( Database) throws -> T
888+ _ value: @Sendable ( Database) throws -> T
889889 ) async throws -> T {
890890 try await base. read ( value)
891891 }
@@ -902,7 +902,7 @@ extension AnyDatabaseWriter: DatabaseReader {
902902 }
903903
904904 public func unsafeRead< T: Sendable > (
905- _ value: @escaping @ Sendable ( Database) throws -> T
905+ _ value: @Sendable ( Database) throws -> T
906906 ) async throws -> T {
907907 try await base. unsafeRead ( value)
908908 }
@@ -936,7 +936,7 @@ extension AnyDatabaseWriter: DatabaseWriter {
936936 }
937937
938938 public func writeWithoutTransaction< T: Sendable > (
939- _ updates: @escaping @ Sendable ( Database) throws -> T
939+ _ updates: @Sendable ( Database) throws -> T
940940 ) async throws -> T {
941941 try await base. writeWithoutTransaction ( updates)
942942 }
@@ -947,7 +947,7 @@ extension AnyDatabaseWriter: DatabaseWriter {
947947 }
948948
949949 public func barrierWriteWithoutTransaction< T: Sendable > (
950- _ updates: @escaping @ Sendable ( Database) throws -> T
950+ _ updates: @Sendable ( Database) throws -> T
951951 ) async throws -> T {
952952 try await base. barrierWriteWithoutTransaction ( updates)
953953 }
0 commit comments