Skip to content
Tauri

removeActive

removeActive(notifications): Promise<void>

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

Removes the active notifications with the given list of identifiers.

object[]

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