Skip to content

OperationInProgressResolution

OperationInProgressResolution = "error" | "queue" | { queueUpTo: { millis: number; }; }

Determines the behavior of the API when an operation is started while another is in progress.

"error"

The default behavior, if there is already an operation in progress then SketchupOperation.startOperation will fail with an error


"queue"

If an operation is already in progress, queue this operation. This will wait indefinitely if any “in progress operations never close.

Operations will always be opened in order of execution.


{ queueUpTo: { millis: number; }; }

queueUpTo: object

If an operation is already in progress, queue this operation. If this operation fails to be started in time, this will fail with an TimeoutError

Operations will always be opened in order of execution.

millis: number

SDK 2.36.0