I was wondering why it is not possible to wait synchronously for the parser service to finish all pending requests.
I know you can wait for pending requests to finish, but the currently active request is not in the list of pending requests and I don't have any other way to get the parse hash key. For example because the parsed file is not openend, but used in the project context via the SourceProjectContent class in the .net add-on.
If I am just spinning in the main thread to wait until the parser service is no longer busy, I end up with a dead lock, because somehow the parser service seems to wait for the main thread.
Right now the only option for me is to check if the service is busy and try again in next idle.
Best regards, Tobias Lingemann.