You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is keenly important to avoid having to use locking. This is trivial to fix in WatchBuilder class by adding something like this to it:
public fromRevision(revision: string, increment: number) {
this.request.start_revision = new BigNumber(revision).add(increment).toString();
return this;
}
The revision I am passing in here is from a previous call to get all of the keys under a prefix. I want to be able to tell it to use that revision plus one (hence the increment). I'm not sure if that is a string or whatnot. I would have done a pull request myself, but I've not dabbled in Typescript, and when I tried to run the tests unmodified they blew up on me.
The text was updated successfully, but these errors were encountered:
This is keenly important to avoid having to use locking. This is trivial to fix in WatchBuilder class by adding something like this to it:
The revision I am passing in here is from a previous call to get all of the keys under a prefix. I want to be able to tell it to use that revision plus one (hence the increment). I'm not sure if that is a string or whatnot. I would have done a pull request myself, but I've not dabbled in Typescript, and when I tried to run the tests unmodified they blew up on me.
The text was updated successfully, but these errors were encountered: