cancelCommand(id) {
        let d = this.aCommands.delayed;
        let iIndex = d.findIndex(c => c.id === id);
        if (iIndex >= 0) {
            d.splice(iIndex, 1);
        }
        d = this.aCommands.looped;
        iIndex = d.findIndex(c => c.id === id);
        if (iIndex >= 0) {
            d.splice(iIndex, 1);
        }
    }
/**
     * cancel a command that was previously declared with "delayCommand"
     * @param id {number} command identifier , given by delayCommand
     */
cancel a command that was previously declared with "delayCommand"
@param id {number} command identifier , given by delayCommand
cancel a command that was previously declared with " delayCommand " @param id { number } command identifier given by delayCommand
cancelCommand(id) {
        let d = this.aCommands.delayed;
        let iIndex = d.findIndex(c => c.id === id);
        if (iIndex >= 0) {
            d.splice(iIndex, 1);
        }
        d = this.aCommands.looped;
        iIndex = d.findIndex(c => c.id === id);
        if (iIndex >= 0) {
            d.splice(iIndex, 1);
        }
    }
cancelCommand ( id ) { let d = this . aCommands . delayed ; let iIndex = d . findIndex ( c => c . id === id ) ; if ( iIndex >= 0 ) { d . splice ( iIndex , 1 ) ; } d = this . aCommands . looped ; iIndex = d . findIndex ( c => c . id === id ) ; if ( iIndex >= 0 ) { d . splice ( iIndex , 1 ) ; } }
cancel a command that was previously declared with "delayCommand"
 @param id {number} command identifier , given by delayCommand
cancel a command that was previously declared with " delayCommand " @param id { number } command identifier given by delayCommand