SDK
SDK Javascript v6.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

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