Skip to content
New issue

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

FreezeOutcome #156

Open
JanKoelzer opened this issue Nov 9, 2018 · 1 comment
Open

FreezeOutcome #156

JanKoelzer opened this issue Nov 9, 2018 · 1 comment

Comments

@JanKoelzer
Copy link
Contributor

If #111 and #155 get merged, I suggest to add a FreezeOutcome that complements CellCompleter.freeze() in callbacks, i.e. if a callback returns FreezeOutcome, the depender is completed with the value it currently has. (In contrast, FinalOutcome completes the Cell after increasing its value.)

@JanKoelzer
Copy link
Contributor Author

FreezeOutcome is not equivalent to FinalOutcome(bottom) in case of a monotonic updater. The latter case would throw an exception, if the cell had been updated earlier.

@JanKoelzer JanKoelzer mentioned this issue Dec 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant