some more docs
This commit is contained in:
@@ -92,9 +92,19 @@
|
|||||||
* @param {number} rotation.z The rotation in degrees around the z-axis
|
* @param {number} rotation.z The rotation in degrees around the z-axis
|
||||||
* @returns {promise<boolean>} This promise resolves as a boolean, indicating success or failure
|
* @returns {promise<boolean>} This promise resolves as a boolean, indicating success or failure
|
||||||
*/
|
*/
|
||||||
var moveTo = ( coordinates: object, rotation: object ): Promise<boolean> => new Promise( ( resolve, reject ) => {
|
var moveTo = ( coordinates: object, rotation: object ): Promise<boolean> => {
|
||||||
resolve( true );
|
return new Promise( ( resolve, reject ) => {
|
||||||
} );
|
|
||||||
|
} );
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* You can use this function to get all registered impress steps.
|
||||||
|
* @returns {Array<Object>}
|
||||||
|
*/
|
||||||
|
const getSteps = ():Array<Object> => {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
init
|
init
|
||||||
|
|||||||
Reference in New Issue
Block a user