NopObserver<T>
using System.
Runtime.
CompilerServices;
namespace System.
Reactive
{
[
System.
Runtime.
CompilerServices.
NullableContext(
1)]
[
System.
Runtime.
CompilerServices.
Nullable(
0)]
internal sealed class NopObserver<[
System.
Runtime.
CompilerServices.
Nullable(
2)]
T> :
IObserver<
T>
{
public static readonly IObserver<
T>
Instance =
new NopObserver<
T>();
public void OnCompleted()
{
}
public void OnError(
Exception error)
{
}
public void OnNext(
T value)
{
}
}
}