-
Notifications
You must be signed in to change notification settings - Fork 206
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
feat(HandledPromise): add unwrap method to allow sync access to presences #413
Conversation
Renamed from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@dckc can you give any hints as to why the eventual-send xs test suite is failing? |
09d3442
to
fe3c047
Compare
Specifically,
|
Those symptoms look vaguely familiar, but I don't recall the diagnosis nor treatment. I moved away from running the |
Would you be able to make (or point me to) a PR that does the |
I have dckc#1 but it's a monster at +4,429 −1,317 with code of varying quality. When I moved away from running the tests for the
To diagnose the failure, I would probably try a debug build. Where the automated build does Unfortunately, a hash table lookup failure can be far from the source of the problem where the hash table was put in a corrupted state in the first place. Perhaps send me a calendar invite for a time when I can show you how I debug such things? |
fe3c047
to
d755832
Compare
The failing xs test passes with the change in agoric-labs/tape-xs#4 |
ab49115
to
d755832
Compare
e1dca18
to
17e5f21
Compare
Closes #412
The new
HandledPromise.unwrap(p)
synchronously returnsp
if it is a presence, or the presence corresponding to the HandledPromisep
that was fulfilled withresolveWithPresence
.If no synchronous presence can be found,
unwrap
throws aTypeError
.