storage.clear
Removes every key storage holds, on the module's background thread.
Verwendung
Cancel all app notifications.
// Cancel all app notifications.
import { Button, notifications, storage } from 'kuito';
async function signOut() {
await notifications.cancelAll(); // no reminders for the account that left
await storage.clear();
}
<Button onPress={signOut}>Sign out</Button>;Signaturen
(): Promise<void>Parameter
Keine Parameter.
Rückgabe
Promise<void>
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.