File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,10 @@ public class GraphQLQueryPager<Model>: Publisher {
228
228
}
229
229
230
230
/// Discards pagination state and fetches the first page from scratch.
231
- /// - Parameter cachePolicy: The apollo cache policy to trigger the first fetch with. Defaults to `fetchIgnoringCacheData`.
231
+ /// - Parameters:
232
+ /// - cachePolicy: The apollo cache policy to trigger the first fetch with. Defaults to `fetchIgnoringCacheData`.
233
+ /// - callbackQueue: The `DispatchQueue` that the `completion` fires on. Defaults to `main`.
234
+ /// - completion: A completion block that will always trigger after the execution of this operation.
232
235
public func refetch(
233
236
cachePolicy: CachePolicy = . fetchIgnoringCacheData,
234
237
callbackQueue: DispatchQueue = . main,
@@ -238,6 +241,9 @@ public class GraphQLQueryPager<Model>: Publisher {
238
241
}
239
242
240
243
/// Fetches the first page.
244
+ /// - Parameters:
245
+ /// - callbackQueue: The `DispatchQueue` that the `completion` fires on. Defaults to `main`.
246
+ /// - completion: A completion block that will always trigger after the execution of this operation.
241
247
public func fetch(
242
248
callbackQueue: DispatchQueue = . main,
243
249
completion: ( ( ) -> Void ) ? = nil
You can’t perform that action at this time.
0 commit comments