You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/Onyx.d.ts
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,12 @@ type BaseConnectOptions = {
34
34
* The type is built from `BaseConnectOptions` and extended to handle key/callback related options.
35
35
* It includes two different forms, depending on whether we are waiting for a collection callback or not.
36
36
*
37
-
* If `waitForCollectionCallback` is `true`, it expects `key` to be a Onyx collection key and `callback` will pass `value` as an `OnyxCollection`.
37
+
* If `waitForCollectionCallback` is `true`, it expects `key` to be a Onyx collection key and `callback` will be triggered with the whole collection
38
+
* and will pass `value` as an `OnyxCollection`.
38
39
*
39
-
* If `waitForCollectionCallback` is `false` or not specified, the `key` can be any Onyx key and `callback` will pass `value` as an `OnyxEntry`.
40
+
*
41
+
* If `waitForCollectionCallback` is `false` or not specified, the `key` can be any Onyx key and `callback` will be triggered with updates of each collection item
0 commit comments