Hello,
How do I go about making a static method synchronous? I have a static method which gets called by multiple UI events, but I want the last one to complete before the latest call gets processed.
I tried to use 'lock', but only to find out that it only blocks between separate threads. Any hints/suggestions/pointers? Thanks.
How do I go about making a static method synchronous? I have a static method which gets called by multiple UI events, but I want the last one to complete before the latest call gets processed.
I tried to use 'lock', but only to find out that it only blocks between separate threads. Any hints/suggestions/pointers? Thanks.