summaryrefslogtreecommitdiff
path: root/src/mscorlib/shared/System/IObserver.cs
blob: 39e123de8dbf2c477bbdada9809c9545280c1219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace System
{
    public interface IObserver<in T>
    {
        void OnNext(T value);
        void OnError(Exception error);
        void OnCompleted();
    }
}