some more docs

This commit is contained in:
janis
2024-01-15 15:43:03 +01:00
parent fd49cd4fb4
commit 6761ff8dfe

View File

@@ -92,9 +92,19 @@
* @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
*/
var moveTo = ( coordinates: object, rotation: object ): Promise<boolean> => new Promise( ( resolve, reject ) => {
resolve( true );
} );
var moveTo = ( coordinates: object, rotation: object ): Promise<boolean> => {
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 {
init