forked from MycroftAI/mycroft-core
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
active skill events - enhanced version of mycroft-core/pull/1468
- adds `self.activate()` and `self.deactivate()` in MycroftSkill class - adds "intent.service.skills.deactivated" event when IntentService removes a skill from active list - adds "intent.service.skills.activated" event when IntentService adds a skill to active list - adds `def handle_deactivate(self, message):` callback in MycroftSkill class - adds `def handle_activate(self, message):` callback in MycroftSkill class - prepares `self.make_active()` for deprecation
- Loading branch information
Showing
3 changed files
with
89 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters