1
0

IObserver.cs 307 B

1234567891011121314151617
  1. // defined from .NET Framework 4.0 and NETFX_CORE
  2. #if !(NETFX_CORE || NET_4_6 || NET_STANDARD_2_0 || UNITY_WSA_10_0)
  3. using System;
  4. namespace UniRx
  5. {
  6. public interface IObserver<T>
  7. {
  8. void OnCompleted();
  9. void OnError(Exception error);
  10. void OnNext(T value);
  11. }
  12. }
  13. #endif