Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.
Johan Sundén edited this page Mar 29, 2017 · 6 revisions

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.

Clone this wiki locally