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

    Function cancel

    • Cancels the pending notifications with the given list of identifiers.

      Parameters

      • notifications: number[]

      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