0
kicks
TPL - Continuation
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...