Last active
December 31, 2015 18:49
-
-
Save teo-mateo/8029911 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // Provides a mechanism for receiving push-based notifications. | |
| public interface IObserver<in T> | |
| { | |
| // Summary: | |
| // Notifies the observer that the provider has finished sending push-based notifications. | |
| void OnCompleted(); | |
| // Notifies the observer that the provider has experienced an error condition. | |
| void OnError(Exception error); | |
| // Provides the observer with new data. | |
| void OnNext(T value); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment