4
Shouts

TPL - Continuation - Bnaya Eshet

published 511 days, 11 hours, 21 minutes ago posted by bnayabnaya 511 days, 19 hours, 18 minutes ago
Thursday, December 29, 2011 1:12:25 AM GMT Wednesday, December 28, 2011 5:15:27 PM GMT

TPL - ContinuationTPL - Continuation this post will discuss TPL Continuation.

TPLcontinuation can chain task into a pipeline. when dealing with dependencies between parallel work units, like [encoding -> compression -> encryption], continuation is the API for scheduling work unit upon completion of other work unit. the general idea is quit similar to the old APM pattern (BeginXxx, EndXxx) callback.basic completion the syntax of continuation:Code SnippetTask tsk = Task.Factory.StartNew(() => {/* d...

category: Architecture | clicked: 9 | | source: blogs.microsoft.co.il | show counter code
tags: TPL, continuation

2 comments posted.

To post your comment please login or signup