Tutorial: system.deleteCacheOnRestart

system.deleteCacheOnRestart

Clears all cached data when OpenFin Runtime is restarted.

Example

fin.desktop.System.deleteCacheOnRestart(function () {
    console.log("successful");
},function (err) {
    console.log("failure: " + err);
});