- Technical documentation
- API docs
Start a spacelet and connect to its open provided services. This method has two overloads.
- start(Object context, DOMString unique_name)
- start(Function callback, DOMString unique_name)
|context||The context is an object implementing start and fail methods.|
|callback||User defined callback function that is called after the response is available.|
|unique_name||Unique name of a spacelet.|
1 . This overload calls the start method of the passed context if starting the spacelet was successful and the fail method on failure.
2 . The callback function in this overload is called with two arguments: callback(err, data).
|err||object||An error_object if starting the spacelet failed or null if the spacelet was started succesfully.|
|data||Boolean||The value is false if starting the spacelet failed and true otherwise.|