startCommand

startCommand: (commandId: string, iModelKey: string, ...args: any[]) => Promise<any>

Start a new instance of an EditCommand on the backend, and then call its onStart method.

@note The current EditCommand (if one is active) is asked to finish and clean up its operation via EditCommand.requestFinish before the new EditCommand is constructed. If it cannot finish immediately, it may return a string that identifies the work it is performing for EditTools.busyHandler to retry and/or display.

Defined in

Last Updated: 14 November, 2024