/*! * @author electricessence / https://github.com/electricessence/ * Based upon .NET source. * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md * Source: http://referencesource.microsoft.com/#mscorlib/system/IObserver.cs */ import {Action, Closure} from "../FunctionTypes"; export interface IObserver { // onNext is optional because an observer may only care about onCompleted. onNext?:Action; onError?:Action; onCompleted?:Closure; } export default IObserver;