new StatusHandler()
StatusHandler knows all about in which status which object currently is
This object cannot be instantiated, it is just a global object
- Source:
Methods
(static) check(event) → {Boolean}
Checks if the status is currently active
Parameters:
| Name | Type | Description |
|---|---|---|
event |
String | like "text:in" |
- Source:
Returns:
- Type
- Boolean
(static) getStatus() → {String}
Returns the current status of the object
- Source:
Returns:
The status or "unknown"
- Type
- String
(static) notify(event)
Notifies the object of a status change, do not call it yourself
Parameters:
| Name | Type | Description |
|---|---|---|
event |
String |
- Source: