Is there a .Net equivalent to java.util.concurrent.Executor?

后端 未结 5 2246
轻奢々
轻奢々 2021-02-20 01:35

Have a long running set of discrete tasks: parsing 10s of thousands of lines from a text file, hydrating into objects, manipulating, and persisting.

If I were implement

5条回答
  •  悲哀的现实
    2021-02-20 02:04

    The BackgroundWorker class is probably what you're looking for. As the name implies, it allows you to run background tasks, with automatically managed pooling, and status update events.

提交回复
热议问题