How to unschedule callback function by its key? - JavaScript

I tried following:
this.scheduleOnce(callback,5,“vvv”);
this.unschedule(“vvv”);

but unschedule did not work.
What is wrong?

Hello,

I think you can unschedule function call using method name.

Here is example:
this.scheduleOnce(this.repeatEveryTime, 5);
this.unschedule(this.repeatEveryTime);

Regards
Gurudath