Cellfish.Toolbox.Tasks classes

ProgressSafe

Implements a synchronous version of IProgress<T> that records any exceptions happening during progress reporting.

ProgressSimple

Implements a synchronous version of IProgress<T>.

TaskWhen

Contains task combinators such as TaskWhen.AllOrError, TaskWhen.Not, TaskWhen.And and TaskWhen.Or.

ToApmExtensions

Contains extension methods to convert a task into an APM call. The opposite of Task.FromAsync.

WaitHandleExtensions

Extension methods to convert WaitHandles into tasks.

WithCancellationExtensions

Contains extension methods to add cancellation to a task.

WithProgressExtensions

Contains extension methods to add progress reporting to a collection of tasks.

WithResultExtensions

Contains extenstion methods to convert a Task to Task<T>.

WithTimeoutExtensions

Contains extension methods to add a timeout to a task.

Last edited Oct 28, 2014 at 5:19 AM by cellfish, version 4