@@ -114,17 +114,6 @@ If the requested key is a collection, it will return an object with all the coll
114114<dt ><a href =" #getCollectionDataAndSendAsObject " >getCollectionDataAndSendAsObject()</a ></dt >
115115<dd ><p >Gets the data for a given an array of matching keys, combines them into an object, and sends the result back to the subscriber.</p >
116116</dd >
117- <dt ><a href =" #prepareSubscriberUpdate " >prepareSubscriberUpdate(callback)</a ></dt >
118- <dd ><p >Delays promise resolution until the next macrotask to prevent race condition if the key subscription is in progress.</p >
119- </dd >
120- <dt ><a href =" #scheduleSubscriberUpdate " >scheduleSubscriberUpdate()</a ></dt >
121- <dd ><p >Schedules an update that will be appended to the macro task queue (so it doesn' ; t update the subscribers immediately).</p >
122- </dd >
123- <dt ><a href =" #scheduleNotifyCollectionSubscribers " >scheduleNotifyCollectionSubscribers()</a ></dt >
124- <dd ><p >This method is similar to scheduleSubscriberUpdate but it is built for working specifically with collections
125- so that keysChanged() is triggered for the collection and not keyChanged(). If this was not done, then the
126- subscriber callbacks receive the data in a different format than they normally expect and it breaks code.</p >
127- </dd >
128117<dt ><a href =" #remove " >remove()</a ></dt >
129118<dd ><p >Remove a key from Onyx and update the subscribers</p >
130119</dd >
@@ -463,35 +452,6 @@ Sends the data obtained from the keys to the connection.
463452## getCollectionDataAndSendAsObject()
464453Gets the data for a given an array of matching keys, combines them into an object, and sends the result back to the subscriber.
465454
466- ** Kind** : global function
467- <a name =" prepareSubscriberUpdate " ></a >
468-
469- ## prepareSubscriberUpdate(callback)
470- Delays promise resolution until the next macrotask to prevent race condition if the key subscription is in progress.
471-
472- ** Kind** : global function
473-
474- | Param | Description |
475- | --- | --- |
476- | callback | The keyChanged/keysChanged callback |
477-
478- <a name =" scheduleSubscriberUpdate " ></a >
479-
480- ## scheduleSubscriberUpdate()
481- Schedules an update that will be appended to the macro task queue (so it doesn't update the subscribers immediately).
482-
483- ** Kind** : global function
484- ** Example**
485- ``` js
486- scheduleSubscriberUpdate (key, value, subscriber => subscriber .initWithStoredValues === false )
487- ```
488- <a name =" scheduleNotifyCollectionSubscribers " ></a >
489-
490- ## scheduleNotifyCollectionSubscribers()
491- This method is similar to scheduleSubscriberUpdate but it is built for working specifically with collections
492- so that keysChanged() is triggered for the collection and not keyChanged(). If this was not done, then the
493- subscriber callbacks receive the data in a different format than they normally expect and it breaks code.
494-
495455** Kind** : global function
496456<a name =" remove " ></a >
497457
0 commit comments