ProjectViewNodeDecorator decorate in several threads

Hi!
I need to execute some not very short tasks in decorate method. I discovered that it all decoration is executed in single thread. And I could not make decoration work for separate node in separate thread.
How can I use multithreading for this task?

0
2 comments

You shouldn't. You should precalculate this information separately and return cached information in the decorator.

0
Avatar
Permanently deleted user

Thanks for reply. I will precalculate it.

0

Please sign in to leave a comment.