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

Make async steps explicitly "in parallel" with queued callbacks #41

Merged
merged 3 commits into from
Jul 18, 2023

Conversation

inexorabletash
Copy link
Collaborator

@inexorabletash inexorabletash commented Jul 5, 2023

The previous text described async operations by starting off with "queue a task" then just describing the remaining behavior synchronously, including invoking callbacks.

It is more accurate to describe the async operations as starting off "in parallel", with any success/error callbacks being invoked by a queued task.

Note that the task source remains implied rather than explicit, although it is called out with a new issue.


Preview | Diff

@inexorabletash
Copy link
Collaborator Author

@mkruisselbrink maybe you can take a look?

Copy link

@mkruisselbrink mkruisselbrink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't looked at specs in a while, but I guess this looks okay; I just have two minor questions.

index.bs Outdated Show resolved Hide resolved
index.bs Show resolved Hide resolved
The previous text described async operations by starting off with
"queue a task" then just describing the remaining behavior
synchronously, including invoking callbacks.

It is more accurate to describe the async operations as starting off
"in parallel", with any success/error callbacks being invoked by a
queued task.

Note that the task source remains implied rather than explicit,
although it is called out with a new TODO.
@inexorabletash
Copy link
Collaborator Author

@mkruisselbrink - can you take another look?

(no rush at all, and if you'd prefer I find another reviewer please say!)

Copy link

@mkruisselbrink mkruisselbrink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@inexorabletash inexorabletash merged commit 7753f1a into main Jul 18, 2023
2 checks passed
github-actions bot added a commit that referenced this pull request Jul 18, 2023
SHA: 7753f1a
Reason: push, by inexorabletash

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

None yet

2 participants