I got this warning. The problem I think is that RunCommand retuns a Result output and to make the method work as async I need to return a void. Any advice how to keep returning the Result but having the method to work async?
Any idea that can point me in the right direction will be really appreciated.
you can’t change the method to async, and it wouldn’t work as you are probably assuming it would: RunCommand is not called with await in Rhino core, so it is non-sensical to try decorate it with async.
Your attempt begs the question: what are you trying to achieve?