function destroyNotifications() {
        let allNotifications = atom.notifications.getNotifications();
        if (allNotifications == null) return;
        allNotifications.forEach(notification =>{
          notification.dismiss();
        });
    }
/**
     * On save, all old notifications are disposed.
     */
On save, all old notifications are disposed.
On save all old notifications are disposed .
function destroyNotifications() {
        let allNotifications = atom.notifications.getNotifications();
        if (allNotifications == null) return;
        allNotifications.forEach(notification =>{
          notification.dismiss();
        });
    }
function destroyNotifications ( ) { let allNotifications = atom . notifications . getNotifications ( ) ; if ( allNotifications == null ) return ; allNotifications . forEach ( notification => { notification . dismiss ( ) ; } ) ; }
On save, all old notifications are disposed.
On save all old notifications are disposed .