Notifying Thread Manager

Intent

Provide a framework for an interactive user interface to invoke a long-running operation in a more managed fashion.

Problem

Many times a user interface must initiate an operation that the developer would like to disconnect from the interface's operation. Although there are many reasons, the most common tend to be when multiple operations need to be performed at once or when an operation could potentially take longer than the user should be expected to wait for a response.

Some operations will always take time to complete. A user interface should allow a user to continue doing work while waiting for the operation, or multiple operations, to complete in background. As the use of Web services proliferate, the response ...

Get .NET Patterns: Architecture, Design, and Process now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.