submitNewTask(description) {
        let command = Client._createTaskCommand(description);
        this._spineWebClient.command(command)
                            .onOk(logSuccess)
                            .onError(errorCallback)
                            .onImmediateRejection(errorCallback)
                            .post();
    }
/**
     * Creates a new basic task with the given description.
     *
     * @param description the description of the new task
     */
Creates a new basic task with the given description.
@param description the description of the new task
Creates a new basic task with the given description . @param description the description of the new task
submitNewTask(description) {
        let command = Client._createTaskCommand(description);
        this._spineWebClient.command(command)
                            .onOk(logSuccess)
                            .onError(errorCallback)
                            .onImmediateRejection(errorCallback)
                            .post();
    }
submitNewTask ( description ) { let command = Client . _createTaskCommand ( description ) ; this . _spineWebClient . command ( command ) . onOk ( logSuccess ) . onError ( errorCallback ) . onImmediateRejection ( errorCallback ) . post ( ) ; }
Creates a new basic task with the given description.
Creates a new basic task with the given description .