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?
Please sign in to leave a comment.
You shouldn't. You should precalculate this information separately and return cached information in the decorator.
Thanks for reply. I will precalculate it.