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

Copied to clipboard!
playQueue();

# Return

The Kuzzle instance.

# Usage

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