Skip to main content
Question

Running actions in parallel in Figma API

  • March 28, 2024
  • 0 replies
  • 128 views

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.