Async Aspect

added by Gecko1986
3/24/2011 6:27:49 AM

1 Kicks, 69 Views

Hate making threads manually to call methods in an async (non blocking) way, while you know that the method should always run on a seperate thread? Then I advise you to try out this PostSharp aspect : Async Attach the [Async] aspect to any method, and from that point on every call to that method will run it in a seperate thread. You can also refine how the method should be run. Will only work on methods that do not return anything ('void' methods)


0 comments