flushQueue #
Empties the offline request queue without playing it.
Arguments #
flushQueue();
Return #
The Kuzzle
instance.
Usage #
try {
kuzzle.flushQueue();
console.log('Offline queue flushed');
} catch (error) {
console.error(error);
}
Edit this page on Github (opens new window)