SDK
SDK Javascript v7.x
2

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);
}