1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-25 01:22:28 +00:00

Added analyse to the docs

This commit is contained in:
J. Fernando Sánchez 2015-12-17 19:48:28 +01:00
parent 6fe68e3c40
commit bb1b4d3266

View File

@ -9,6 +9,7 @@ The basic methods in a plugin are:
* __init__
* activate: used to load memory-hungry resources
* deactivate: used to free up resources
* analyse: called in every user requests. It takes in the parameters supplied by a user and should return a senpy Response.
Plugins are loaded asynchronously, so don't worry if the activate method takes too long. The plugin will be marked as activated once it is finished executing the method.