Created
March 17, 2016 16:16
-
-
Save lukasz-pyrzyk/88c0782bbde7d1920e98 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
namespace XGain | |
{ | |
public interface IServer : IDisposable | |
{ | |
event EventHandler<StartArgs> OnStart; | |
event EventHandler<MessageArgs> OnNewMessage; | |
event EventHandler<ErrorArgs> OnError; | |
Task StartSynchronously(CancellationToken token); | |
Task StartParallel(CancellationToken token, int? maxDegreeOfParallelism = null); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment