8 Replies Latest reply on Mar 29, 2017 12:26 PM by kimaldis

    Feature Request: LrTasks.executeSyncTask... & startAsyncTaskOnce

    areohbee Level 6

      I'm finding a lot of things want to be done from an "async" task, for Lightroom's sake, yet they need to be "synchronous" for the sake of the plugin. I use flag variables presently as a work around to wait for a task, but it would be better if this were supported natively.


      Another thing that would help is a one-instance-only capability for async tasks - so if you tried to start a second one before the first was finished it wouldn't start. This would help for example when writing a button handler that does stuff that must be via asynchronous task, but really shouldn't do more than once until last invocation is finished.