SCSF Calling services asynchronously
Are there any best practices for calling SCSF services asynchronously?
Particularly I'm interesting in:
- Executions of requests in background
- Cancellation support
- Reporting prog开发者_如何学编程ress
Currently I came up with two scenarios:
- Listener Service which listens in background for real-time updates and displays received data in grid (displaying stock quotes in real-time);
- Long-running request, which supports cancellation, progress reporting and returns data incrementally.
精彩评论