23 lines
405 B
C#
23 lines
405 B
C#
// defined from .NET Framework 4.0 and NETFX_CORE
|
|
|
|
using System;
|
|
|
|
#if !(NETFX_CORE || NET_4_6 || NET_STANDARD_2_0 || UNITY_WSA_10_0)
|
|
|
|
namespace UniRx
|
|
{
|
|
public interface IObservable<T>
|
|
{
|
|
IDisposable Subscribe(IObserver<T> observer);
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|
|
namespace UniRx
|
|
{
|
|
public interface IGroupedObservable<TKey, TElement> : IObservable<TElement>
|
|
{
|
|
TKey Key { get; }
|
|
}
|
|
} |