swex-addin
swex-addin copied to clipboard
Add ability of a deferred execution of the method
OnIdle notification is a safe place to execute commands. Add the option to add-in to hide the complexity of handling the OnIdle and allow any function to be executed from within the first OnIdleNotification after it is put to queue.
ExecuteDeferred(x=>x.SomeFunction(a, b));
Might need to employ lyambda expression for this.