flushQueue

Empties the offline request queue without playing it.

Signature

Copied to clipboard!
kuzzleio::Kuzzle* flushQueue() noexcept;

Return

The Kuzzle instance.

Usage

Copied to clipboard!
kuzzle->flushQueue();

std::cout << "Offline queue successfully emptied" << std::endl;