Emits true while execute() is performing real work (e.g. after a
preceding modal/dialog has been confirmed) and false otherwise.
Consumers (such as the workspace action element) use this to show
in-flight UI - e.g. a button spinner - only while work is actually
happening, not while a user is interacting with a modal.
Optional; when not exposed, consumers fall back to assuming work
begins immediately on execute().
Methods
destroy
destroy():void
Returns void
execute
execute():Promise<void>
The execute method, the action will act as a button.
Emits
truewhileexecute()is performing real work (e.g. after a preceding modal/dialog has been confirmed) andfalseotherwise.Consumers (such as the workspace action element) use this to show in-flight UI - e.g. a button spinner - only while work is actually happening, not while a user is interacting with a modal.
Optional; when not exposed, consumers fall back to assuming work begins immediately on
execute().