clean()
This function is used to clean stuff up, reducing RAM usage, and removing unnecessary database entries.
Parametersβ
| Parameter | Type | Required | Description |
|---|---|---|---|
| options | CleanOptions | β | The options for the clean. |
Returnsβ
void
Throwsβ
XpFatal- If something goes wrong (somehow).
[JS] Exampleβ
const {clean} = require('simply-xp');
clean() // Returns void