Resumes sending events after calling suspendListRefresh().
Required Editions
| Available in: Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
Parameters
- discardQueuedEvents: Boolean. If the value is set to true, it discards the queued events.
- returnEventsAsBatch: Boolean. Handles events in a batch. Optional. If the value is set to true and the parameter discardQuededEvents is set to false, the event handler that is registered by the addItemChangedBatchEventListener function returns the array of suppressed events. The event handler registered by the addItemChangedEventListener function isn’t called.
Note If the returnEventsAsBatch parameter is set to true and the event handler isn’t registered
by the addItemChangedBatchEventListener function, then a Framework Error is logged and the list
of events are discarded.
Returns
True or false.
Example
loNotes.resumeListRefresh();
List.prototype.resumeListRefresh = function(discardQueuedEvents,returnEventsAsBatch){...}