Nothing Special   »   [go: up one dir, main page]

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

Enqueue fallback results onto the completion queue #143

Closed
wants to merge 2 commits into from

Conversation

DylanZA
Copy link
@DylanZA DylanZA commented Jun 9, 2021

Summary:
Rather enqueue fallback results onto the completion queue, to better mimic what happens in a real fetch.
This allows F <$> a <*> b to fetch both a and b, even if a throws an exception.

Reviewed By: josefs

Differential Revision: D28964005

Dylan Yudaken added 2 commits June 9, 2021 03:08
Summary: Change type of CompleteReq to accept a ResultVal rather than an Either. This prepares it for being used in the next diff, and should be a no-op as the transform happened before use anyway

Differential Revision: D28964006

fbshipit-source-id: ce321c36620907e54c412e5e891201bad234464c
Summary:
Rather enqueue fallback results onto the completion queue, to better mimic what happens in a real fetch.
This allows `F <$> a <*> b` to fetch both a and b, even if a throws an exception.

Reviewed By: josefs

Differential Revision: D28964005

fbshipit-source-id: 88b826081d2458b78cb61385d654c8a275f79ec9
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D28964005

@facebook-github-bot
Copy link

This pull request has been merged in 8f018dc.

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

Successfully merging this pull request may close these issues.

2 participants