[ALOY-1742] Add ability to run static code outside of controller instance
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | alloy, code, griffin-app, static |
| Reporter | Brenton House |
| Assignee | Feon Sua Xin Miao |
| Created | 2020-10-12T14:58:01.000+0000 |
| Updated | 2020-10-12T14:58:01.000+0000 |
Description
Currently, there is no way to add code to a controller that you want to run once (upon first require) as opposed to every time (inside function Controller()).
No comments