• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Can use asynchronous operation of CEP to realize multi threading?

Participant ,
Jan 11, 2017 Jan 11, 2017

Copy link to clipboard

Copied

Can use asynchronous operation of CEP to realize multi threading?

For example: draw ten rectangles at the same time

TOPICS
Scripting

Views

534

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
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 11, 2017 Jan 11, 2017

In CEP side, execute evalScript method works non blocking. But the Extendscript DOM works blocking.

Votes

Translate

Translate
Adobe
Community Expert ,
Jan 11, 2017 Jan 11, 2017

Copy link to clipboard

Copied

No, you can not.

The applications object model works synchronously same as Extendscript.

Votes

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
community guidelines
Participant ,
Jan 11, 2017 Jan 11, 2017

Copy link to clipboard

Copied

CEP_7_Feature_List

....

Support not enforcing FIFO queueing of evalScript() requests across extensions.

o By default, the evalScript requests are served in First-In-First-Out order across extensions. For host applications which can execute evalScript requests asynchronously, they have the option to control the order according to their use cases.

Votes

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
community guidelines
Community Expert ,
Jan 11, 2017 Jan 11, 2017

Copy link to clipboard

Copied

LATEST

In CEP side, execute evalScript method works non blocking. But the Extendscript DOM works blocking.

Votes

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
community guidelines