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

The Future returned from Promise.complete should be shown as Success(...) instead of [running future] #216

Closed
Atry opened this issue Aug 31, 2018 · 2 comments

Comments

@Atry
Copy link

Atry commented Aug 31, 2018

2018-08-31 09 21 16

The unexpected output is:

res4: Promise[String] = [running future]
@Atry Atry changed the title The Future returned from Promise.complete should shown as Success(...) instead of [running future] The Future returned from Promise.complete should be shown as Success(...) instead of [running future] Aug 31, 2018
@alexarchambault
Copy link
Member

Reproduced…

It should be an issue around the way "updatable results" are handled. Roughly, these work by pprinting UUIDs instead of stuff that can change, and later updating the corresponding DisplayData, each time replacing the UUID with something ("[running future]", "Success(…)", …)

@alexarchambault
Copy link
Member

Possibly a concurrency issue 😓 (an update being sent before the data to be updated)

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

2 participants