/// module Rx { export interface AsyncSubject extends Subject { } interface AsyncSubjectStatic { /** * Creates a subject that can only receive one value and that value is cached for all future observations. * @constructor */ new (): AsyncSubject; } /** * Represents the result of an asynchronous operation. * The last value before the OnCompleted notification, or the error received through OnError, is sent to all subscribed observers. */ export var AsyncSubject: AsyncSubjectStatic; } (function() { var s : Rx.AsyncSubject = new Rx.AsyncSubject(); });