@@ -75,17 +75,6 @@ If the requested key is a collection, it will return an object with all the coll
7575<dt ><a href =" #getCollectionDataAndSendAsObject " >getCollectionDataAndSendAsObject()</a ></dt >
7676<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 >
7777</dd >
78- <dt ><a href =" #prepareSubscriberUpdate " >prepareSubscriberUpdate(callback)</a ></dt >
79- <dd ><p >Delays promise resolution until the next macrotask to prevent race condition if the key subscription is in progress.</p >
80- </dd >
81- <dt ><a href =" #scheduleSubscriberUpdate " >scheduleSubscriberUpdate()</a ></dt >
82- <dd ><p >Schedules an update that will be appended to the macro task queue (so it doesn' ; t update the subscribers immediately).</p >
83- </dd >
84- <dt ><a href =" #scheduleNotifyCollectionSubscribers " >scheduleNotifyCollectionSubscribers()</a ></dt >
85- <dd ><p >This method is similar to scheduleSubscriberUpdate but it is built for working specifically with collections
86- so that keysChanged() is triggered for the collection and not keyChanged(). If this was not done, then the
87- subscriber callbacks receive the data in a different format than they normally expect and it breaks code.</p >
88- </dd >
8978<dt ><a href =" #remove " >remove()</a ></dt >
9079<dd ><p >Remove a key from Onyx and update the subscribers</p >
9180</dd >
@@ -339,35 +328,6 @@ Sends the data obtained from the keys to the connection.
339328## getCollectionDataAndSendAsObject()
340329Gets the data for a given an array of matching keys, combines them into an object, and sends the result back to the subscriber.
341330
342- ** Kind** : global function
343- <a name =" prepareSubscriberUpdate " ></a >
344-
345- ## prepareSubscriberUpdate(callback)
346- Delays promise resolution until the next macrotask to prevent race condition if the key subscription is in progress.
347-
348- ** Kind** : global function
349-
350- | Param | Description |
351- | --- | --- |
352- | callback | The keyChanged/keysChanged callback |
353-
354- <a name =" scheduleSubscriberUpdate " ></a >
355-
356- ## scheduleSubscriberUpdate()
357- Schedules an update that will be appended to the macro task queue (so it doesn't update the subscribers immediately).
358-
359- ** Kind** : global function
360- ** Example**
361- ``` js
362- scheduleSubscriberUpdate (key, value, subscriber => subscriber .initWithStoredValues === false )
363- ```
364- <a name =" scheduleNotifyCollectionSubscribers " ></a >
365-
366- ## scheduleNotifyCollectionSubscribers()
367- This method is similar to scheduleSubscriberUpdate but it is built for working specifically with collections
368- so that keysChanged() is triggered for the collection and not keyChanged(). If this was not done, then the
369- subscriber callbacks receive the data in a different format than they normally expect and it breaks code.
370-
371331** Kind** : global function
372332<a name =" remove " ></a >
373333
0 commit comments