Skip to main content
Question

Running actions in parallel in Figma API


user_of_figma

For example I need to change text for several hundreds of nodes on my design.
(In my exact example: I wanna add “$” sign for every node with price-text).
With just Promise.all it takes about 5 seconds to get all nodes. Also I need to change FontName for prices (make them with same font but italic), it also takes time to load fonts for every of them (because I need to load same font as it was, but with italic)

So the question is: if I need to compute hundreds of nodes (text-nodes), can I do it somehow in parallel ?

This topic has been closed for replies.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings