Created
June 2, 2014 12:41
-
-
Save renestein/346e6b7ea9f19561abbd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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