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

Add Snap.TryGet and View.TryGet #168

Tarmil opened this Issue Apr 3, 2018 · 0 comments


None yet
1 participant

Tarmil commented Apr 3, 2018

module Snap =
    val TryGet : Snap<'T> -> option<'T>

module View =
    val TryGet : View<'T> -> option<'T>

These functions should return Some with the current value, or None if the Snap/View is currently in a waiting state.

They are useful to fix issues such as #167.

@Tarmil Tarmil added bug enhancement and removed bug labels Apr 3, 2018

@Tarmil Tarmil closed this in 35795ef Apr 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment