Skip to content

Instantly share code, notes, and snippets.

View DavidBurela's full-sized avatar

David Burela DavidBurela

View GitHub Profile
@DavidBurela
DavidBurela / AsyncPortableTask.cs
Created July 9, 2012 08:05 — forked from dsplaisted/AsyncPortableTask.cs
Portable task wrappers
// An implementation of IPortableTask which wraps an actual Task.
// This has to go in a project targeting a platform or platforms which support Task and async/await
using System;
using System.Threading.Tasks;
namespace PortableTasks
{
public class AsyncPortableTask : IPortableTask
{