Wait for processRenderedPhotos to finish

Explorer ,
Jul 11, 2020

Copy link to clipboard

Copied

I am publishing my images to a remote server in processRenderedPhotos. There I am waiting for the rendition to complete. I am waiting in a LrTasks.startAsyncTask

But, as they are async publish finishes before the upload functions. how can I wait for all the async functions to finish, so I can return from processRenderedPhotos

TOPICS
Import and export, SDK, Sync

Views

41

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Wait for processRenderedPhotos to finish

Explorer ,
Jul 11, 2020

Copy link to clipboard

Copied

I am publishing my images to a remote server in processRenderedPhotos. There I am waiting for the rendition to complete. I am waiting in a LrTasks.startAsyncTask

But, as they are async publish finishes before the upload functions. how can I wait for all the async functions to finish, so I can return from processRenderedPhotos

TOPICS
Import and export, SDK, Sync

Views

42

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 11, 2020 0
Eric Pec LATEST
Contributor ,
Jul 11, 2020

Copy link to clipboard

Copied

This I believe is a question of principle. Can you switch from asynchronous to synchronous This will fulfill your expectations

Best Regards
Eric PECQUERIE
Sent from my iPhone X

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 11, 2020 0