Skip to content

Commit 90a2699

Browse files
cbaker6TomWFox
andauthored
Apply suggestions from code review
Co-authored-by: Tom Fox <[email protected]>
1 parent 6c3dff4 commit 90a2699

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/ParseSwift/LiveQuery/Subscription.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ open class Subscription<T: ParseObject>: ParseSubscription, ObservableObject {
205205
- parameter explain: Used to toggle the information on the query plan.
206206
- parameter hint: String or Object of index that should be used when executing query.
207207
- parameter options: A set of header options sent to the server. Defaults to an empty set.
208-
- parameter callbackQueue: The queue to return to after completion. Default value of .main.
208+
- parameter callbackQueue: The queue to return to after completion. Default value of `.main`.
209209
*/
210210
open func find(explain: Bool,
211211
hint: String? = nil,
@@ -285,6 +285,7 @@ open class Subscription<T: ParseObject>: ParseSubscription, ObservableObject {
285285

286286
/**
287287
Counts objects and publishes them as `resultsCodable` afterwards.
288+
288289
- parameter explain: Used to toggle the information on the query plan.
289290
- parameter hint: String or Object of index that should be used when executing query.
290291
- parameter options: A set of header options sent to the server. Defaults to an empty set.
@@ -307,6 +308,7 @@ open class Subscription<T: ParseObject>: ParseSubscription, ObservableObject {
307308

308309
/**
309310
Executes an aggregate query and publishes the results as `results` afterwards.
311+
310312
- requires: `.useMasterKey` has to be available and passed as one of the set of `options`.
311313
- parameter pipeline: A pipeline of stages to process query.
312314
- parameter options: A set of header options sent to the server. Defaults to an empty set.

0 commit comments

Comments
 (0)