-
Notifications
You must be signed in to change notification settings - Fork 212
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
HandledPromise.unwrap(p)
to synchronously get the presence
#412
Comments
Note that this should only return a HandledPromise's presence, and throw for any other argument. |
michaelfig
added a commit
that referenced
this issue
Jan 13, 2020
michaelfig
added a commit
that referenced
this issue
Jan 13, 2020
michaelfig
added a commit
that referenced
this issue
Jan 22, 2020
michaelfig
added a commit
that referenced
this issue
Jan 27, 2020
michaelfig
added a commit
that referenced
this issue
Jan 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe:
HandledPromise.unwrap(p)
which throws ifp
is not a resolved handled promise, otherwise return the presence/fulfilled value.Holidays are here, so I'd like to unwrap my presence.
Originally posted by @michaelfig in Agoric/eventual-send#24 (comment)
The text was updated successfully, but these errors were encountered: