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

Trivial readability changes to scheduling-tasks doc #90

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

mmocny
Copy link
Collaborator

@mmocny mmocny commented Apr 25, 2024

@@ -148,7 +148,7 @@ A <dfn>scheduler task</dfn> is a [=/task=] with an additional numeric
The following [=task sources=] are defined as <dfn>scheduler task sources</dfn>,
and must only be used for [=scheduler tasks=].

: <dfn>The posted task task source</dfn>
: <dfn>The posted task's task source</dfn>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure about this. This is defining a specific type of task source, i.e. the task source to use for tasks scheduled with the postTask API, and the possession doesn't really fit here (it's a category, so singular possession doesn't make sense to me). Probably "The" should move out of the definition though, and maybe we could consider renaming since we'll probably share this with yield.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Remembering back, the name was inspired by the posted message task source, which is analogous.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah I wasn't sure. I reverted but moved the out, and will let you consider rename later.

Copy link
Collaborator

@shaseley shaseley left a comment

Choose a reason for hiding this comment

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

LGTM

@shaseley shaseley merged commit 921f817 into main Apr 25, 2024
2 checks passed
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.

2 participants