2
0

IObservable.cs 405 B

1234567891011121314151617181920212223
  1. // defined from .NET Framework 4.0 and NETFX_CORE
  2. using System;
  3. #if !(NETFX_CORE || NET_4_6 || NET_STANDARD_2_0 || UNITY_WSA_10_0)
  4. namespace UniRx
  5. {
  6. public interface IObservable<T>
  7. {
  8. IDisposable Subscribe(IObserver<T> observer);
  9. }
  10. }
  11. #endif
  12. namespace UniRx
  13. {
  14. public interface IGroupedObservable<TKey, TElement> : IObservable<TElement>
  15. {
  16. TKey Key { get; }
  17. }
  18. }