Agent - Infomaker/Dashboard-Plugin GitHub Wiki
Dashboard.Agent
The data layer of a plugin. Example in tutorial.
The Agent class is not a Dashboard Component. Both of the Application and Widget class extends Dashboard Component. Therefore none of the Component Lifecycle functions is available.
close()
close() {
// This is where you should for example close connections or clear intervals.
}
Function that is called before agent is unregistered.