It would be great if callback could be ignored if it's undefined. Right now it throws an error.
For example, I want to removeTokens but I don't care about the callback. Perhaps you could add a removeTokensSync method? and in removeTokens just check if callback is not null and is a function.
It would be great if callback could be ignored if it's undefined. Right now it throws an error.
For example, I want to removeTokens but I don't care about the callback. Perhaps you could add a removeTokensSync method? and in removeTokens just check if callback is not null and is a function.