Skip to content
Tauri

cancel

cancel(notifications): Promise<void>

Defined in: plugins/notification/guest-js/index.ts:425

Cancels the pending notifications with the given list of identifiers.

number[]

Promise<void>

A promise indicating the success or failure of the operation.

import { cancel } from '@tauri-apps/plugin-notification';
await cancel([-34234, 23432, 4311]);

2.0.0


© 2025 Tauri Contributors. CC-BY / MIT