isApplicationRunning(DOMString unique_name, Function callback)
Test is application or spacelet running.
Parameter | Description |
---|---|
unique_name | Unique name of an application or a spacelet. |
callback | User defined callback function that is called after the response is available. |
After the response is available the callback function is called with two arguments: callback(err, data).
Argument | Type | Desription |
---|---|---|
err | JSON Object | An error_object or null if no error occured. |
data | Boolean | If application or spacelet is running the value is true and otherwise false. |