Click here to Skip to main content
15,901,205 members
Articles / Programming Languages / C#

Pass Generic Func<T,V> to ThreadPool and Wait for Response

Rate me:
Please Sign up or sign in to vote.
4.95/5 (14 votes)
6 Feb 2017CPOL2 min read 14.4K   11  
A helper class to run func<T,V> in ThreadPool.QueueUserWorkItem and receive the response from a delegate

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions