-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve documentation for TaskAPI
#8
Conversation
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.
Minor changes required
* @param provider the {@link TaskProvider} that should be registered | ||
* | ||
* @returns a `Disposable` that can be invoked to unregister the given resolver | ||
*/wit |
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.
Code is broken here
registerRunner(runners: TaskRunnerRegistry): void; | ||
} | ||
|
||
export const TaskRunner = Symbol('TaskRunner'); | ||
/** A Task Runner knows how to run and kill a Task of a particular type. */ | ||
/** | ||
* A {@link TaskRunner} knows how to run and kill a task of a particular type. |
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.
It does not know how to kill a task imho.
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.
Comment still open
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.
Fixed
Thanks for the fast review. I addressed the issues and squashed the changes into a single commit |
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.
Open comment from last review
registerRunner(runners: TaskRunnerRegistry): void; | ||
} | ||
|
||
export const TaskRunner = Symbol('TaskRunner'); | ||
/** A Task Runner knows how to run and kill a Task of a particular type. */ | ||
/** | ||
* A {@link TaskRunner} knows how to run and kill a task of a particular type. |
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.
Comment still open
979bacd
to
960cedd
Compare
Fixes eclipse-theia#8694 Signed-off-by: Tobias Ortmayr <[email protected]> Contributed on behalf of STMicroelectronics
Merged upstream with eclipse-theia#8695 |
Signed-off-by: Tobias Ortmayr [email protected]
Contributed on behalf of STMicroelectronics