File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ public struct Fetch<Value: Sendable>: Sendable {
9999 /// - database: The database to read from. A value of `nil` will use the default database
100100 /// (`@Dependency(\.defaultDatabase)`).
101101 /// - Returns: A subscription associated with the observation.
102+ @discardableResult
102103 public func load(
103104 _ request: some FetchKeyRequest < Value > ,
104105 database: ( any DatabaseReader ) ? = nil
@@ -139,6 +140,7 @@ extension Fetch {
139140 /// - scheduler: The scheduler to observe from. By default, database observation is performed
140141 /// asynchronously on the main queue.
141142 /// - Returns: A subscription associated with the observation.
143+ @discardableResult
142144 public func load(
143145 _ request: some FetchKeyRequest < Value > ,
144146 database: ( any DatabaseReader ) ? = nil ,
You can’t perform that action at this time.
0 commit comments