@tauri-apps/plugin-notification - v2.3.0
    Preparing search index...

    Function removeActive

    • Removes the active notifications with the given list of identifiers.

      Parameters

      • notifications: { id: number; tag?: string }[]

      Returns 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