TPL - Continuation(blogs.microsoft.co.il)

submitted by bnayabnaya(431) 4 months, 27 days ago

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...

2 comments |category: |Views: 65

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by bsenoffbsenoff(1583) 4 months, 27 days ago 0

http://dotnetkicks.com/docs/kickitbadge

how about a dnk kick it badge on these?

Reply

posted by dpetersondpeterson(4397) 4 months, 26 days ago 0

I haven't looked into continuations in the TPL before, this is going to save a lot of crufty code.

Reply

information Login or create an account to comment on this story