storage.clear
Removes every key storage holds, on the module's background thread.
Usage
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>;Signatures
(): Promise<void>Parameters
No parameters.
Returns
Promise<void>
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.