SDK
SDK Javascript v7.x
2

playQueue #

Plays the requests queued during offline state. Works only if the SDK is not in a offline state, and if the autoReplay option is set to false.

Arguments #

playQueue();

Return #

The Kuzzle instance.

Usage #

try {
  kuzzle.playQueue();
  console.log('Start playing offline queue');
} catch (error) {
  console.error(error);
}