Skip to content

Instantly share code, notes, and snippets.

@renestein
Created June 2, 2014 12:41
Show Gist options
  • Save renestein/346e6b7ea9f19561abbd to your computer and use it in GitHub Desktop.
Save renestein/346e6b7ea9f19561abbd to your computer and use it in GitHub Desktop.
using System;
using System.Threading.Tasks;
namespace RStein.Async.Schedulers
{
public interface IAsioTaskService : IDisposable
{
Task Dispatch(Action action);
Task Dispatch(Func<Task> function);
Task Post(Action action);
Task Post(Func<Task> function);
Action Wrap(Action action);
Action Wrap(Func<Task> function);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment