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

Add 'tasks.onDidEndTask' Plug-in API #4101

Merged
merged 1 commit into from
Jan 23, 2019
Merged

Add 'tasks.onDidEndTask' Plug-in API #4101

merged 1 commit into from
Jan 23, 2019

Conversation

RomanNikitenko
Copy link
Contributor

Add ability to get event on plugin side when a task is terminated
Example:

theia.tasks.onDidEndTask(event => {
      const task = event.execution.task;

      console.log(`The task ${task.name} was terminated`);
});

Signed-off-by: Roman Nikitenko rnikiten@redhat.com

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
@RomanNikitenko
Copy link
Contributor Author

@benoitf I rebased my branch and resolved conflicts after your approval.
Could you take a look - is it OK?
The changes was in changelog file only (resolving conflicts).
Thank you!

@RomanNikitenko RomanNikitenko merged commit f143065 into master Jan 23, 2019
@RomanNikitenko RomanNikitenko deleted the endTaskEvent branch January 23, 2019 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plug-in system issues related to the plug-in system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants