We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An AsyncObservable cannot return a value from its getter if resolve has already been called.
resolve
That means the observable below cannot be used to toggle from 0 to 1 and then back to 0:
0
1
var asyncObs = new AsyncObservable(function(lastSet, resolve){ if (value.get() === 1) { resolve(1); } return 0; });
The text was updated successfully, but these errors were encountered:
failing test for #13
b430b52
Maybe what is strange about this is that the value ever becomes 1, since even when you resolve(1) you also then return 0.
resolve(1)
Sorry, something went wrong.
phillipskevin
No branches or pull requests
An AsyncObservable cannot return a value from its getter if
resolve
has already been called.That means the observable below cannot be used to toggle from
0
to1
and then back to0
:The text was updated successfully, but these errors were encountered: